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>
82 lines
2.2 KiB
Plaintext
82 lines
2.2 KiB
Plaintext
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/keymile/km_arm/kwbimage.cfg"
|
|
CONFIG_SYS_TEXT_BASE=0x07d00000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
|
CONFIG_TARGET_KM_KIRKWOOD=y
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0x0
|
|
CONFIG_DEFAULT_DEVICE_TREE="kirkwood-km_kirkwood"
|
|
CONFIG_BOOTCOUNT_BOOTLIMIT=3
|
|
CONFIG_ENV_OFFSET_REDUND=0x2000
|
|
CONFIG_IDENT_STRING="\nHitachi Power Grids Kirkwood PCI"
|
|
CONFIG_SYS_LOAD_ADDR=0x800000
|
|
CONFIG_KM_FPGA_CONFIG=y
|
|
CONFIG_KM_KIRKWOOD_PCI=y
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc8012000
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
|
|
CONFIG_AUTOBOOT_STOP_STR=" "
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_RESET_PHY_R=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_MAXARGS=32
|
|
CONFIG_SYS_CBSIZE=512
|
|
CONFIG_SYS_PBSIZE=532
|
|
# CONFIG_BOOTM_NETBSD is not set
|
|
# CONFIG_BOOTM_PLAN9 is not set
|
|
# CONFIG_BOOTM_RTEMS is not set
|
|
# CONFIG_BOOTM_VXWORKS is not set
|
|
CONFIG_SYS_BOOTM_LEN=0x2000000
|
|
CONFIG_CMD_ASKENV=y
|
|
CONFIG_CMD_GREPENV=y
|
|
CONFIG_CMD_EEPROM=y
|
|
CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
|
|
CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=6
|
|
CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=10
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_BOOTP_BOOTFILESIZE=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=orion_nand"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
|
|
CONFIG_CMD_UBI=y
|
|
# CONFIG_CMD_UBIFS is not set
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_EEPROM=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_NETCONSOLE=y
|
|
CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
|
|
CONFIG_BOOTCOUNT_LIMIT=y
|
|
CONFIG_BOOTCOUNT_RAM=y
|
|
CONFIG_KIRKWOOD_GPIO=y
|
|
CONFIG_SYS_I2C_LEGACY=y
|
|
CONFIG_SYS_I2C_SOFT=y
|
|
CONFIG_SYS_I2C_SOFT_SLAVE=0x0
|
|
CONFIG_SYS_I2C_MVTWSI=y
|
|
CONFIG_SYS_I2C_SLAVE=0x0
|
|
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_SF_DEFAULT_SPEED=8100000
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_MVGBE=y
|
|
CONFIG_MII=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SPI=y
|
|
CONFIG_KIRKWOOD_SPI=y
|
|
CONFIG_BCH=y
|