mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
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>
This commit is contained in:
parent
919ccb9fe5
commit
f0333b4c2e
5 changed files with 27 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -2,12 +2,13 @@ CONFIG_ARM=y
|
|||
CONFIG_ARCH_DAVINCI=y
|
||||
CONFIG_TARGET_DA850EVM=y
|
||||
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
||||
CONFIG_MAC_ADDR_IN_EEPROM=y
|
||||
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
||||
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
||||
CONFIG_SPL_SERIAL_SUPPORT=y
|
||||
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
||||
CONFIG_SPL_SPI_SUPPORT=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="DA850_AM18X_EVM,MAC_ADDR_IN_EEPROM,SYS_I2C_EEPROM_ADDR_LEN=2,SYS_I2C_EEPROM_ADDR=0x50"
|
||||
CONFIG_SYS_EXTRA_OPTIONS="DA850_AM18X_EVM,SYS_I2C_EEPROM_ADDR_LEN=2,SYS_I2C_EEPROM_ADDR=0x50"
|
||||
CONFIG_BOOTDELAY=3
|
||||
CONFIG_USE_BOOTARGS=y
|
||||
CONFIG_BOOTARGS="mem=32M console=ttyS2,115200n8 root=/dev/mtdblock2 rw noinitrd ip=dhcp"
|
||||
|
|
|
@ -7,7 +7,6 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|||
CONFIG_SPL_SERIAL_SUPPORT=y
|
||||
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
||||
CONFIG_SPL_SPI_SUPPORT=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="MAC_ADDR_IN_SPIFLASH"
|
||||
CONFIG_BOOTDELAY=3
|
||||
CONFIG_USE_BOOTARGS=y
|
||||
CONFIG_BOOTARGS="mem=32M console=ttyS2,115200n8 root=/dev/mtdblock2 rw noinitrd ip=dhcp"
|
||||
|
|
|
@ -2,7 +2,7 @@ CONFIG_ARM=y
|
|||
CONFIG_ARCH_DAVINCI=y
|
||||
CONFIG_TARGET_DA850EVM=y
|
||||
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="MAC_ADDR_IN_SPIFLASH,USE_NOR,DIRECT_NOR_BOOT"
|
||||
CONFIG_SYS_EXTRA_OPTIONS="USE_NOR,DIRECT_NOR_BOOT"
|
||||
CONFIG_BOOTDELAY=3
|
||||
CONFIG_USE_BOOTARGS=y
|
||||
CONFIG_BOOTARGS="mem=32M console=ttyS2,115200n8 root=/dev/mtdblock2 rw noinitrd ip=dhcp"
|
||||
|
|
|
@ -1359,8 +1359,6 @@ CONFIG_MACH_SPECIFIC
|
|||
CONFIG_MACH_TYPE
|
||||
CONFIG_MACH_TYPE_COMPAT_REV
|
||||
CONFIG_MACRESET_TIMEOUT
|
||||
CONFIG_MAC_ADDR_IN_EEPROM
|
||||
CONFIG_MAC_ADDR_IN_SPIFLASH
|
||||
CONFIG_MALLOC_F_ADDR
|
||||
CONFIG_MALTA
|
||||
CONFIG_MARCO_MEMSET
|
||||
|
|
Loading…
Reference in a new issue