Enable USING_STORAGE_CALLBACK on hosted targets. Fixes config.cfg not written properly.
Change-Id: I3c87b41baae284b818be5c272d984d937ae0e350
This commit is contained in:
parent
36d7f64555
commit
6b8330d216
1 changed files with 4 additions and 4 deletions
|
@ -43,10 +43,10 @@ enum {
|
|||
DISK_EVENT_SPINUP = (EVENT_CLASS_DISK|1),
|
||||
};
|
||||
|
||||
#define USING_STORAGE_CALLBACK (CONFIG_PLATFORM & PLATFORM_NATIVE) \
|
||||
&& ! ((CONFIG_STORAGE & STORAGE_NAND) \
|
||||
&& (CONFIG_NAND == NAND_IFP7XX)) \
|
||||
&& !defined(BOOTLOADER)
|
||||
#define USING_STORAGE_CALLBACK ((CONFIG_STORAGE & STORAGE_NAND) \
|
||||
&& (CONFIG_NAND == NAND_IFP7XX)) \
|
||||
&& !defined(BOOTLOADER) || \
|
||||
(CONFIG_PLATFORM & PLATFORM_HOSTED)
|
||||
|
||||
extern void register_storage_idle_func(void (*function)(void *data));
|
||||
#if USING_STORAGE_CALLBACK
|
||||
|
|
Loading…
Reference in a new issue