···2929#include "ftl-target.h"
3030#include "nand-target.h"
31313232+uint32_t ftl_banks;
3333+const struct nand_device_info_type* ftl_nand_type;
3234/* This file provides only STUBS for now */
33353436/** static, private data **/
+2-2
firmware/target/arm/rk27xx/ftl-target.h
···3131#endif
32323333/* Pointer to an info structure regarding the flash type used */
3434-const struct nand_device_info_type* ftl_nand_type;
3434+extern const struct nand_device_info_type* ftl_nand_type;
35353636/* Number of banks we detected a chip on */
3737-uint32_t ftl_banks;
3737+extern uint32_t ftl_banks;
38383939uint32_t ftl_init(void);
4040uint32_t ftl_read(uint32_t sector, uint32_t count, void* buffer);