forked from len0rd/rockbox
rk27xx: Fix compilation with -fno-common
Change-Id: I9fbe85fed23fe7b1b3fd88aa5e8a4a63c509fa62
This commit is contained in:
parent
e4abe9177e
commit
74508093f2
2 changed files with 4 additions and 2 deletions
|
|
@ -29,6 +29,8 @@
|
||||||
#include "ftl-target.h"
|
#include "ftl-target.h"
|
||||||
#include "nand-target.h"
|
#include "nand-target.h"
|
||||||
|
|
||||||
|
uint32_t ftl_banks;
|
||||||
|
const struct nand_device_info_type* ftl_nand_type;
|
||||||
/* This file provides only STUBS for now */
|
/* This file provides only STUBS for now */
|
||||||
|
|
||||||
/** static, private data **/
|
/** static, private data **/
|
||||||
|
|
|
||||||
|
|
@ -31,10 +31,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Pointer to an info structure regarding the flash type used */
|
/* 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 */
|
/* 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_init(void);
|
||||||
uint32_t ftl_read(uint32_t sector, uint32_t count, void* buffer);
|
uint32_t ftl_read(uint32_t sector, uint32_t count, void* buffer);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue