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>
75 lines
1.7 KiB
Plaintext
75 lines
1.7 KiB
Plaintext
CONFIG_ARC=y
|
|
CONFIG_ISA_ARCV2=y
|
|
CONFIG_TARGET_HSDK=y
|
|
CONFIG_SYS_TEXT_BASE=0x81000000
|
|
CONFIG_SYS_MALLOC_LEN=0x0200000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="hsdk"
|
|
CONFIG_DEBUG_UART_BASE=0xf0005000
|
|
CONFIG_DEBUG_UART_CLOCK=33333333
|
|
CONFIG_SYS_CLK_FREQ=500000000
|
|
CONFIG_SYS_LOAD_ADDR=0x82000000
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80000f30
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="console=ttyS0,115200n8"
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_BOARD_EARLY_INIT_R=y
|
|
CONFIG_BOARD_LATE_INIT=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="hsdk# "
|
|
CONFIG_SYS_CBSIZE=2048
|
|
CONFIG_SYS_PBSIZE=2071
|
|
CONFIG_SYS_BOOTM_LEN=0x8000000
|
|
CONFIG_CMD_ENV_FLAGS=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_USB=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_EXT2=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_OF_EMBED=y
|
|
CONFIG_ENV_IS_IN_FAT=y
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_USE_BOOTFILE=y
|
|
CONFIG_BOOTFILE="uImage"
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_CLK_HSDK=y
|
|
CONFIG_HSDK_CREG_GPIO=y
|
|
CONFIG_MMC=y
|
|
CONFIG_MMC_DW=y
|
|
CONFIG_MMC_DW_SNPS=y
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_SST=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_MII=y
|
|
CONFIG_DM_RESET=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_DESIGNWARE_SPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_EHCI_GENERIC=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_OHCI_GENERIC=y
|
|
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USE_PRIVATE_LIBGCC=y
|
|
CONFIG_PANIC_HANG=y
|