aboutsummaryrefslogtreecommitdiff
path: root/board/davinci/da8xxevm/Kconfig
diff options
context:
space:
mode:
authorAdam Ford2017-09-08 17:01:18 -0500
committerTom Rini2017-09-13 09:24:27 -0400
commitf0333b4c2e642df54f210e4506c4e1de216b4969 (patch)
treea0846b13ee0bc7c1b92c204358813c52ace27cdb /board/davinci/da8xxevm/Kconfig
parent919ccb9fe55febcc628e43dc1fea00ecc71e8bdf (diff)
Convert CONFIG_MAC_ADDR_IN_SPIFLASH et al to Kconfig
This converts the following to Kconfig: CONFIG_MAC_ADDR_IN_SPIFLASH CONFIG_MAC_ADDR_IN_EEPROM Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'board/davinci/da8xxevm/Kconfig')
-rw-r--r--board/davinci/da8xxevm/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/board/davinci/da8xxevm/Kconfig b/board/davinci/da8xxevm/Kconfig
index d49d244672d..bb1188b4ea2 100644
--- a/board/davinci/da8xxevm/Kconfig
+++ b/board/davinci/da8xxevm/Kconfig
@@ -9,6 +9,30 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "da850evm"
+menuconfig DA850_MAC
+ bool "Use MAC Address"
+ default y
+
+if DA850_MAC
+config MAC_ADDR_IN_SPIFLASH
+ bool "MAC address in SPI Flash"
+ default y
+ help
+ The OMAP-L138 and AM1808 SoM are programmed with
+ their MAC address in SPI Flash from the factory
+ Enable this option to read the MAC from SPI Flash
+
+config MAC_ADDR_IN_EEPROM
+ bool "MAC address in EEPROM"
+ help
+ The DA850 EVM comes with SoM are programmed with
+ their MAC address in SPI Flash from the factory,
+ but the kit has an optional expansion board with
+ EEPROM available. Enable this option to read the
+ MAC from the EEPROM
+
+endif
+
endif
if TARGET_OMAPL138_LCDK