mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +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>
105 lines
2.6 KiB
Text
105 lines
2.6 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SYS_ARCH_TIMER=y
|
|
CONFIG_SYS_THUMB_BUILD=y
|
|
CONFIG_ARCH_MEDIATEK=y
|
|
CONFIG_SYS_TEXT_BASE=0x41e00000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_DEFAULT_DEVICE_TREE="mt7629-rfb"
|
|
CONFIG_SPL_TEXT_BASE=0x201000
|
|
CONFIG_TARGET_MT7629=y
|
|
CONFIG_SPL_SERIAL=y
|
|
CONFIG_SPL_DRIVERS_MISC=y
|
|
CONFIG_SPL_STACK_R_ADDR=0x40800000
|
|
CONFIG_SYS_LOAD_ADDR=0x42007f1c
|
|
CONFIG_SPL_PAYLOAD="u-boot-lzma.img"
|
|
CONFIG_BUILD_TARGET="u-boot-mtk.bin"
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x41fffef0
|
|
CONFIG_SPL_IMAGE="spl/u-boot-spl-mtk.bin"
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_VERBOSE=y
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_DEFAULT_FDT_FILE="mt7629-rfb"
|
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_SPL_MAX_SIZE=0x10000
|
|
CONFIG_SPL_FOOTPRINT_LIMIT=y
|
|
CONFIG_SPL_MAX_FOOTPRINT=0x10000
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
CONFIG_SPL_STACK=0x106000
|
|
CONFIG_SPL_STACK_R=y
|
|
CONFIG_SPL_NOR_SUPPORT=y
|
|
CONFIG_SPL_WATCHDOG=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="U-Boot> "
|
|
CONFIG_SYS_MAXARGS=8
|
|
CONFIG_SYS_PBSIZE=1049
|
|
CONFIG_SYS_BOOTM_LEN=0x4000000
|
|
CONFIG_CMD_BOOTMENU=y
|
|
# CONFIG_CMD_ELF is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
CONFIG_CMD_BIND=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_SF_TEST=y
|
|
CONFIG_CMD_USB=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_NFS is not set
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_CMD_LOG=y
|
|
CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-parents"
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_SPL_DM_SEQ_ALIAS=y
|
|
CONFIG_REGMAP=y
|
|
CONFIG_SPL_REGMAP=y
|
|
CONFIG_SYSCON=y
|
|
CONFIG_SPL_SYSCON=y
|
|
CONFIG_CLK=y
|
|
CONFIG_SPL_CLK=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_SPI_FLASH=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_DM_ETH=y
|
|
CONFIG_MEDIATEK_ETH=y
|
|
CONFIG_PHY=y
|
|
CONFIG_PHY_MTK_TPHY=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCONF=y
|
|
CONFIG_PINCTRL_MT7629=y
|
|
CONFIG_POWER_DOMAIN=y
|
|
CONFIG_MTK_POWER_DOMAIN=y
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_RAM=y
|
|
CONFIG_SPL_RAM=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_MTK_SERIAL=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_MTK_SNOR=y
|
|
CONFIG_SYSRESET=y
|
|
CONFIG_SPL_SYSRESET=y
|
|
CONFIG_SYSRESET_WATCHDOG=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_XHCI_HCD=y
|
|
CONFIG_USB_XHCI_MTK=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_KEYBOARD=y
|
|
CONFIG_WDT_MTK=y
|
|
CONFIG_LZMA=y
|
|
CONFIG_SPL_LZMA=y
|
|
# CONFIG_EFI_LOADER is not set
|