am335x_evm: Add NOR to Kconfig

Make enabling support for NOR (and describe where it's seen) be done via
Kconfig.

Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
Tom Rini 2014-10-27 16:15:07 -04:00
parent d5325eff10
commit 40aca036c8
3 changed files with 11 additions and 2 deletions

View File

@ -22,4 +22,11 @@ config CONS_INDEX
board you may want something other than UART0 as for example the IDK board you may want something other than UART0 as for example the IDK
uses UART3 so enter 4 here. uses UART3 so enter 4 here.
config NOR
bool "Support for NOR flash"
help
The AM335x SoC supports having a NOR flash connected to the GPMC.
In practice this is seen as a NOR flash module connected to the
"memory cape" for the BeagleBone family.
endif endif

View File

@ -1,5 +1,6 @@
CONFIG_SPL=y CONFIG_SPL=y
CONFIG_SYS_EXTRA_OPTIONS="NAND,NOR" CONFIG_SYS_EXTRA_OPTIONS="NAND"
CONFIG_CONS_INDEX=1 CONFIG_CONS_INDEX=1
+S:CONFIG_ARM=y +S:CONFIG_ARM=y
+S:CONFIG_TARGET_AM335X_EVM=y +S:CONFIG_TARGET_AM335X_EVM=y
CONFIG_NOR=y

View File

@ -1,4 +1,5 @@
CONFIG_SYS_EXTRA_OPTIONS="NOR,NOR_BOOT" CONFIG_SYS_EXTRA_OPTIONS="NOR_BOOT"
CONFIG_CONS_INDEX=1 CONFIG_CONS_INDEX=1
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_TARGET_AM335X_EVM=y CONFIG_TARGET_AM335X_EVM=y
CONFIG_NOR=y