rk27xx: Fix compilation with -fno-common

Change-Id: I9fbe85fed23fe7b1b3fd88aa5e8a4a63c509fa62
This commit is contained in:
Solomon Peachy 2025-08-05 07:19:50 -04:00
parent e4abe9177e
commit 74508093f2
2 changed files with 4 additions and 2 deletions

View file

@ -31,10 +31,10 @@
#endif
/* Pointer to an info structure regarding the flash type used */
const struct nand_device_info_type* ftl_nand_type;
extern const struct nand_device_info_type* ftl_nand_type;
/* Number of banks we detected a chip on */
uint32_t ftl_banks;
extern uint32_t ftl_banks;
uint32_t ftl_init(void);
uint32_t ftl_read(uint32_t sector, uint32_t count, void* buffer);