mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 18:41:03 +00:00
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>
67 lines
1.8 KiB
Text
67 lines
1.8 KiB
Text
CONFIG_MIPS=y
|
|
CONFIG_SKIP_LOWLEVEL_INIT=y
|
|
CONFIG_SYS_MALLOC_LEN=0x100000
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_ENV_OFFSET=0x30000
|
|
CONFIG_ENV_SECT_SIZE=0x10000
|
|
CONFIG_DEFAULT_DEVICE_TREE="mediatek,mt7620-mt7530-rfb"
|
|
CONFIG_SPL_SERIAL=y
|
|
CONFIG_SPL_SYS_MALLOC_F_LEN=0x40000
|
|
CONFIG_SPL=y
|
|
CONFIG_DEBUG_UART_BASE=0xb0000c00
|
|
CONFIG_DEBUG_UART_CLOCK=40000000
|
|
CONFIG_SYS_LOAD_ADDR=0x80010000
|
|
CONFIG_ARCH_MTMIPS=y
|
|
CONFIG_BOARD_MT7620_MT7530_RFB=y
|
|
CONFIG_MIPS_CACHE_SETUP=y
|
|
CONFIG_MIPS_CACHE_DISABLE=y
|
|
CONFIG_RESTORE_EXCEPTION_VECTOR_BASE=y
|
|
CONFIG_MIPS_BOOT_FDT=y
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_FIT=y
|
|
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
|
|
CONFIG_SYS_MALLOC_BOOTPARAMS=y
|
|
CONFIG_SPL_MAX_SIZE=0x10000
|
|
CONFIG_SPL_BSS_START_ADDR=0x80010000
|
|
CONFIG_SPL_BSS_MAX_SIZE=0x10000
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
CONFIG_SPL_NOR_SUPPORT=y
|
|
CONFIG_SYS_BOOTM_LEN=0x1000000
|
|
# CONFIG_CMD_ELF is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_CRC32 is not set
|
|
# CONFIG_CMD_DM is not set
|
|
CONFIG_CMD_GPIO=y
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_SPI=y
|
|
# CONFIG_CMD_NFS is not set
|
|
CONFIG_CMD_MII=y
|
|
# CONFIG_CMD_MDIO is not set
|
|
CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clocks clock-names interrupt-parent interrupts resets reset-names"
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_SPL_DM=y
|
|
# CONFIG_SIMPLE_BUS is not set
|
|
# CONFIG_SPL_SIMPLE_BUS is not set
|
|
CONFIG_GPIO_HOG=y
|
|
# CONFIG_INPUT is not set
|
|
CONFIG_SPI_FLASH_SFDP_SUPPORT=y
|
|
CONFIG_SPI_FLASH_EON=y
|
|
CONFIG_SPI_FLASH_GIGADEVICE=y
|
|
CONFIG_SPI_FLASH_ISSI=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_SPI_FLASH_XMC=y
|
|
CONFIG_MT7620_ETH=y
|
|
CONFIG_SPECIFY_CONSOLE_INDEX=y
|
|
CONFIG_DEBUG_UART_SHIFT=2
|
|
CONFIG_SPI=y
|
|
CONFIG_MT7620_SPI=y
|
|
CONFIG_LZMA=y
|
|
CONFIG_SPL_LZMA=y
|