mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +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>
83 lines
2.2 KiB
Text
83 lines
2.2 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_SPL_GPIO=y
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_ENV_SIZE=0x4000
|
|
CONFIG_ENV_OFFSET=0x300000
|
|
CONFIG_AM33XX=y
|
|
CONFIG_TARGET_CM_T335=y
|
|
CONFIG_SPL_MMC=y
|
|
CONFIG_SPL_SERIAL=y
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_FS_FAT=y
|
|
CONFIG_SPL_LIBDISK_SUPPORT=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4030ff00
|
|
CONFIG_TIMESTAMP=y
|
|
# CONFIG_USE_BOOTCOMMAND is not set
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
CONFIG_SYS_SPL_MALLOC=y
|
|
CONFIG_SYS_SPL_MALLOC_SIZE=0x800000
|
|
CONFIG_SPL_FS_EXT4=y
|
|
CONFIG_SPL_I2C=y
|
|
CONFIG_SPL_MTD_SUPPORT=y
|
|
CONFIG_SPL_NAND_DRIVERS=y
|
|
CONFIG_SPL_NAND_ECC=y
|
|
CONFIG_SPL_NAND_BASE=y
|
|
CONFIG_SPL_POWER=y
|
|
CONFIG_SPL_WATCHDOG=y
|
|
# CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC is not set
|
|
CONFIG_SYS_PROMPT="CM-T335 # "
|
|
CONFIG_SYS_MAXARGS=64
|
|
CONFIG_SYS_PBSIZE=1051
|
|
CONFIG_CMD_ASKENV=y
|
|
CONFIG_CMD_EEPROM=y
|
|
CONFIG_CMD_EEPROM_LAYOUT=y
|
|
CONFIG_EEPROM_LAYOUT_HELP_STRING="v2, v3"
|
|
CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4
|
|
CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_NAND=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_BOOTP_DNS2=y
|
|
CONFIG_SYS_DISABLE_AUTOLOAD=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=nand"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=nand:2m(spl),1m(u-boot),1m(u-boot-env),1m(dtb),4m(splash),6m(kernel),-(rootfs)"
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_NET_RETRY_COUNT=10
|
|
CONFIG_BOOTP_SEND_HOSTNAME=y
|
|
CONFIG_CMD_PCA953X=y
|
|
CONFIG_SYS_I2C_LEGACY=y
|
|
CONFIG_SPL_SYS_I2C_LEGACY=y
|
|
CONFIG_LED_STATUS=y
|
|
CONFIG_LED_STATUS_GPIO=y
|
|
CONFIG_LED_STATUS0=y
|
|
CONFIG_LED_STATUS_BIT=64
|
|
CONFIG_LED_STATUS_BOOT_ENABLE=y
|
|
CONFIG_LED_STATUS_BOOT=0
|
|
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
|
|
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
|
CONFIG_SYS_NAND_PAGE_COUNT=0x40
|
|
CONFIG_SYS_NAND_PAGE_SIZE=0x800
|
|
CONFIG_SYS_NAND_OOBSIZE=0x40
|
|
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
|
|
CONFIG_SYS_NAND_U_BOOT_OFFS=0x200000
|
|
CONFIG_PHY_ATHEROS=y
|
|
CONFIG_MII=y
|
|
CONFIG_DRIVER_TI_CPSW=y
|
|
CONFIG_OF_LIBFDT=y
|