ARM: uniphier: enable CONFIG_SYS_NO_FLASH if no CONFIG_MICRO_SUPPORT_CARD

NOR flash devices are seldom used on UniPhier platforms these days.
The only use case I see is the Micro Support Card is connected.
Otherwise, define CONFIG_SYS_NO_FLASH to disable NOR FLASH.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada 2016-10-08 13:25:27 +09:00
parent 66deb91ec0
commit f4c93a4f4d
1 changed files with 3 additions and 4 deletions

View File

@ -40,10 +40,9 @@
/* FLASH related */ /* FLASH related */
#define CONFIG_MTD_DEVICE #define CONFIG_MTD_DEVICE
/* #ifndef CONFIG_MICRO_SUPPORT_CARD
* uncomment the following to disable FLASH related code. #define CONFIG_SYS_NO_FLASH
*/ #endif
/* #define CONFIG_SYS_NO_FLASH */
#define CONFIG_FLASH_CFI_DRIVER #define CONFIG_FLASH_CFI_DRIVER
#define CONFIG_SYS_FLASH_CFI #define CONFIG_SYS_FLASH_CFI