c45568cc4e
This converts the following to Kconfig: CONFIG_SYS_BOOTM_LEN As part of this, rework error handling in boot/bootm.c so that we pass the buffer size to handle_decomp_error as CONFIG_SYS_BOOTM_LEN will not be available to host tools but we do know the size that we passed to malloc(). Cc: Soeren Moch <smoch@web.de> Signed-off-by: Tom Rini <trini@konsulko.com>
84 lines
2.6 KiB
Plaintext
84 lines
2.6 KiB
Plaintext
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=0x1000
|
|
CONFIG_ENV_OFFSET=0x7000
|
|
CONFIG_DEFAULT_DEVICE_TREE="am335x-shc"
|
|
CONFIG_AM33XX=y
|
|
CONFIG_TARGET_AM335X_SHC=y
|
|
CONFIG_SPL_MMC=y
|
|
CONFIG_SPL_SERIAL=y
|
|
CONFIG_SPL=y
|
|
CONFIG_ENV_OFFSET_REDUND=0x9000
|
|
CONFIG_SPL_FS_FAT=y
|
|
CONFIG_SPL_LIBDISK_SUPPORT=y
|
|
CONFIG_SERIES=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4030ff00
|
|
CONFIG_TIMESTAMP=y
|
|
CONFIG_SHOW_BOOT_PROGRESS=y
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noautoboot' to enter prompt without timeout\n"
|
|
CONFIG_AUTOBOOT_DELAY_STR="shc"
|
|
CONFIG_AUTOBOOT_STOP_STR="noautoboot"
|
|
CONFIG_BOOT_RETRY=y
|
|
CONFIG_BOOT_RETRY_TIME=30
|
|
CONFIG_RESET_TO_RETRY=y
|
|
CONFIG_BOOTCOMMAND="if mmc dev 1; mmc rescan; then run emmc_setup; else echo ERROR: eMMC device not detected!; panic; fi; if run loaduimage; then run mmcboot; else echo ERROR Unable to load uImage from eMMC!; echo Performing Rollback!; setenv _active_ ${active_root}; setenv _inactive_ ${inactive_root}; setenv active_root ${_inactive_}; setenv inactive_root ${_active_}; saveenv; reset; fi; "
|
|
CONFIG_DEFAULT_FDT_FILE="am335x-shc"
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
CONFIG_SYS_SPL_MALLOC=y
|
|
CONFIG_SYS_SPL_MALLOC_SIZE=0x800000
|
|
CONFIG_SPL_FS_EXT4=y
|
|
CONFIG_SPL_I2C=y
|
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
|
CONFIG_SPL_OS_BOOT=y
|
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
|
CONFIG_SPL_POWER=y
|
|
CONFIG_SPL_WATCHDOG=y
|
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
|
# CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC is not set
|
|
CONFIG_SYS_PROMPT="U-Boot# "
|
|
CONFIG_SYS_MAXARGS=64
|
|
CONFIG_SYS_PBSIZE=1049
|
|
CONFIG_SYS_BOOTM_LEN=0x1000000
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_GPT=y
|
|
CONFIG_CMD_MMC=y
|
|
# CONFIG_CMD_PINMUX is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_BOOTP_DNS2=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_SYS_MMC_ENV_DEV=1
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_NET_RETRY_COUNT=10
|
|
CONFIG_BOOTP_SEND_HOSTNAME=y
|
|
CONFIG_SYS_I2C_LEGACY=y
|
|
CONFIG_SPL_SYS_I2C_LEGACY=y
|
|
CONFIG_SYS_I2C_SLAVE=0x1
|
|
CONFIG_SYS_I2C_SPEED=400000
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_PHY_ADDR_ENABLE=y
|
|
CONFIG_PHY_SMSC=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_MII=y
|
|
CONFIG_DRIVER_TI_CPSW=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_SINGLE=y
|
|
CONFIG_PMIC_TPS65217=y
|
|
CONFIG_LZO=y
|