]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
am335x_evm: Add NOR to Kconfig
authorTom Rini <trini@ti.com>
Mon, 27 Oct 2014 20:15:07 +0000 (16:15 -0400)
committerTom Rini <trini@ti.com>
Wed, 5 Nov 2014 16:57:04 +0000 (11:57 -0500)
Make enabling support for NOR (and describe where it's seen) be done via
Kconfig.

Signed-off-by: Tom Rini <trini@ti.com>
board/ti/am335x/Kconfig
configs/am335x_evm_nor_defconfig
configs/am335x_evm_norboot_defconfig

index b9f6bd712290058d4826d09286c496ea85dd50f5..1878e362a902aea23fffa699d297565649c5189b 100644 (file)
@@ -22,4 +22,11 @@ config CONS_INDEX
          board you may want something other than UART0 as for example the IDK
          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
index 41f31cc02e90ad9f59ffbe28875e1cd7c97c76b5..be901633acd3ea868fa98804920347cde559336f 100644 (file)
@@ -1,5 +1,6 @@
 CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="NAND,NOR"
+CONFIG_SYS_EXTRA_OPTIONS="NAND"
 CONFIG_CONS_INDEX=1
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_AM335X_EVM=y
+CONFIG_NOR=y
index 7dbfa277e0a289ed04faf729ae6d2fea059268a4..d2d3ba2603798fbf55d5ab370a6ee96c46297888 100644 (file)
@@ -1,4 +1,5 @@
-CONFIG_SYS_EXTRA_OPTIONS="NOR,NOR_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="NOR_BOOT"
 CONFIG_CONS_INDEX=1
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_EVM=y
+CONFIG_NOR=y