diff options
author | Adam Ford <aford173@gmail.com> | 2017-09-09 01:01:18 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-13 16:24:27 +0300 |
commit | f0333b4c2e642df54f210e4506c4e1de216b4969 (patch) | |
tree | a0846b13ee0bc7c1b92c204358813c52ace27cdb /board | |
parent | 919ccb9fe55febcc628e43dc1fea00ecc71e8bdf (diff) | |
download | u-boot-f0333b4c2e642df54f210e4506c4e1de216b4969.tar.xz |
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')
-rw-r--r-- | board/davinci/da8xxevm/Kconfig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/board/davinci/da8xxevm/Kconfig b/board/davinci/da8xxevm/Kconfig index d49d244672..bb1188b4ea 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 |