mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 22:33:18 +00:00
bf904ea418
The "autoload" environment variable is always checked with env_get_yesno as it can be set to any form of no. The default behavior of env_get_yesno is to return -1 on variables that are not set, which acts as true in general (we test for non-zero return). To convert CONFIG_SYS_AUTOLOAD to Kconfig, given that it was almost always used to set autoload to no, first rename to CONFIG_SYS_DISABLE_AUTOLOAD for consistency sake. Then, make it so that if enabled we set autoload=0 in the default environment. Migrate all platforms which set CONFIG_SYS_AUTOLOAD to non-true or that set autoload to false in their default environment to using CONFIG_SYS_DISABLE_AUTOLOAD Signed-off-by: Tom Rini <trini@konsulko.com>
66 lines
1.9 KiB
Text
66 lines
1.9 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SKIP_LOWLEVEL_INIT=y
|
|
CONFIG_SYS_DCACHE_OFF=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_ARCH_KIRKWOOD=y
|
|
CONFIG_SYS_KWD_CONFIG="board/d-link/dns325/kwbimage.cfg"
|
|
CONFIG_SYS_TEXT_BASE=0x600000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_TARGET_DNS325=y
|
|
CONFIG_ENV_SIZE=0x20000
|
|
CONFIG_ENV_OFFSET=0xE0000
|
|
CONFIG_DEFAULT_DEVICE_TREE="kirkwood-dns325"
|
|
CONFIG_IDENT_STRING="\nD-Link DNS-325"
|
|
CONFIG_SYS_LOAD_ADDR=0x800000
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc8012000
|
|
# CONFIG_SYS_MALLOC_F is not set
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="if test -n ${bootenv} && usb start; then if run loadbootenv; then echo Loaded environment ${bootenv} from usb;run importbootenv;fi;if test -n ${bootenvcmd}; then echo Running bootenvcmd ...;run bootenvcmd;fi;fi;run setnandbootenv subbootcmd;"
|
|
CONFIG_USE_PREBOOT=y
|
|
CONFIG_CONSOLE_MUX=y
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_RESET_PHY_R=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_MAXARGS=32
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_IDE=y
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_USB=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_SYS_DISABLE_AUTOLOAD=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_EXT2=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_JFFS2=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=orion_nand"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:896k(u-boot),128k(u-boot-env),5m(kernel),-(rootfs)"
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_ISO_PARTITION=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_NETCONSOLE=y
|
|
CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
|
|
CONFIG_DM=y
|
|
CONFIG_SYS_ATA_STRIDE=4
|
|
CONFIG_SYS_ATA_DATA_OFFSET=0x100
|
|
CONFIG_SYS_ATA_REG_OFFSET=0x100
|
|
CONFIG_SYS_ATA_ALT_OFFSET=0x100
|
|
CONFIG_LBA48=y
|
|
CONFIG_KIRKWOOD_GPIO=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_MVGBE=y
|
|
CONFIG_MII=y
|
|
CONFIG_DM_RTC=y
|
|
CONFIG_RTC_MV=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_STORAGE=y
|