mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 10:30:32 +00:00
54f80dd290
This converts the following to Kconfig: CONFIG_GATEWAYIP CONFIG_HOSTNAME CONFIG_IPADDR CONFIG_NETMASK CONFIG_ROOTPATH CONFIG_SERVERIP CONFIG_UBOOTPATH To do this, we introduce a CONFIG_USE_ form of each of the above and change include/env_default.h to test for that to be set before setting a value. Further, we don't want to stringify the IP address related values as they are now properly strings via Kconfig. Signed-off-by: Tom Rini <trini@konsulko.com>
50 lines
1.2 KiB
Text
50 lines
1.2 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_SYS_L2_PL310=y
|
|
CONFIG_ARCH_NPCM=y
|
|
CONFIG_TEXT_BASE=0x8200
|
|
CONFIG_SYS_MALLOC_LEN=0x240000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x1000
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_ENV_SIZE=0x40000
|
|
CONFIG_ENV_OFFSET=0x100000
|
|
CONFIG_ENV_SECT_SIZE=0x4000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="nuvoton-npcm750-evb"
|
|
CONFIG_SYS_PROMPT="U-Boot>"
|
|
CONFIG_TARGET_POLEG=y
|
|
CONFIG_SYS_LOAD_ADDR=0x10000000
|
|
CONFIG_ENV_ADDR=0x80100000
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x7f10
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="run common_bootargs; run romboot"
|
|
CONFIG_SYS_MAXARGS=32
|
|
CONFIG_SYS_CBSIZE=256
|
|
CONFIG_SYS_PBSIZE=280
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_UUID=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_USE_IPADDR=y
|
|
CONFIG_IPADDR="192.168.0.2"
|
|
CONFIG_USE_NETMASK=y
|
|
CONFIG_NETMASK="255.255.255.0"
|
|
CONFIG_USE_SERVERIP=y
|
|
CONFIG_SERVERIP="192.168.0.1"
|
|
CONFIG_CLK=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCONF=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_NPCM_SERIAL=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_SYSRESET=y
|
|
CONFIG_SYSRESET_WATCHDOG=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_NPCM_TIMER=y
|