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>
87 lines
2.2 KiB
Plaintext
87 lines
2.2 KiB
Plaintext
CONFIG_MIPS=y
|
|
CONFIG_SYS_TEXT_BASE=0x40000000
|
|
CONFIG_SYS_MALLOC_LEN=0x1f0000
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0x100000
|
|
CONFIG_ENV_SECT_SIZE=0x40000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="ocelot_pcb123"
|
|
CONFIG_DEBUG_UART_BASE=0x70100000
|
|
CONFIG_DEBUG_UART_CLOCK=250000000
|
|
CONFIG_DEBUG_UART_BOARD_INIT=y
|
|
CONFIG_ENV_OFFSET_REDUND=0x140000
|
|
CONFIG_SYS_LOAD_ADDR=0x100000
|
|
CONFIG_ARCH_MSCC=y
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_SYS_MEMTEST_START=0x80000000
|
|
CONFIG_SYS_MEMTEST_END=0x9fc00000
|
|
CONFIG_SYS_LITTLE_ENDIAN=y
|
|
CONFIG_FIT=y
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="console=ttyS0,115200"
|
|
CONFIG_LOGLEVEL=7
|
|
CONFIG_BOARD_TYPES=y
|
|
CONFIG_DISPLAY_CPUINFO=y
|
|
CONFIG_BOARD_EARLY_INIT_R=y
|
|
CONFIG_SYS_PROMPT="ocelot # "
|
|
CONFIG_SYS_CBSIZE=256
|
|
CONFIG_SYS_PBSIZE=282
|
|
# CONFIG_CMD_BDI is not set
|
|
# CONFIG_CMD_CONSOLE is not set
|
|
CONFIG_SYS_BOOTM_LEN=0x1000000
|
|
# CONFIG_CMD_ELF is not set
|
|
# CONFIG_CMD_EXPORTENV is not set
|
|
# CONFIG_CMD_IMPORTENV is not set
|
|
# CONFIG_CMD_CRC32 is not set
|
|
CONFIG_CMD_MD5SUM=y
|
|
CONFIG_CMD_MEMINFO=y
|
|
CONFIG_CMD_MEMTEST=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_DHCP=y
|
|
# CONFIG_NET_TFTP_VARS is not set
|
|
# CONFIG_CMD_NFS is not set
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nor0=spi_flash"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:512k(UBoot),256k(Env),256k(conf),15m(linux),15m(linux.bk)"
|
|
CONFIG_CMD_UBI=y
|
|
# CONFIG_CMD_UBIFS is not set
|
|
# CONFIG_ISO_PARTITION is not set
|
|
CONFIG_OF_LIST="ocelot_pcb120 ocelot_pcb123"
|
|
CONFIG_DTB_RESELECT=y
|
|
CONFIG_MULTI_DTB_FIT=y
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_CLK=y
|
|
CONFIG_MSCC_SGPIO=y
|
|
CONFIG_LED=y
|
|
CONFIG_LED_GPIO=y
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_MTD_SPI_NAND=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_BAR=y
|
|
CONFIG_SPI_FLASH_GIGADEVICE=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_SPI_FLASH_MTD=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_MSCC_OCELOT_SWITCH=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCONF=y
|
|
CONFIG_SPECIFY_CONSOLE_INDEX=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_DEBUG_UART_SHIFT=2
|
|
CONFIG_DEBUG_UART_ANNOUNCE=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_LZMA=y
|