mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +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>
150 lines
3.9 KiB
Text
150 lines
3.9 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SPL_SYS_DCACHE_OFF=y
|
|
CONFIG_SYS_L2CACHE_OFF=y
|
|
CONFIG_ARCH_ZYNQ=y
|
|
CONFIG_SYS_TEXT_BASE=0x4000000
|
|
CONFIG_ENV_OFFSET=0xE00000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="zynq-zc706"
|
|
CONFIG_SPL_STACK_R_ADDR=0x200000
|
|
CONFIG_SPL=y
|
|
CONFIG_CMD_FRU=y
|
|
CONFIG_CMD_ZYNQ_AES=y
|
|
CONFIG_SYS_LOAD_ADDR=0x0
|
|
CONFIG_SYS_MEMTEST_START=0x00000000
|
|
CONFIG_SYS_MEMTEST_END=0x00001000
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_REMAKE_ELF=y
|
|
CONFIG_SYS_CUSTOM_LDSCRIPT=y
|
|
CONFIG_SYS_LDSCRIPT="arch/arm/mach-zynq/u-boot.lds"
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_SIGNATURE=y
|
|
CONFIG_FIT_VERBOSE=y
|
|
CONFIG_SPL_FIT_PRINT=y
|
|
CONFIG_SPL_LOAD_FIT=y
|
|
CONFIG_SPL_LOAD_FIT_ADDRESS=0x10000000
|
|
# CONFIG_USE_SPL_FIT_GENERATOR is not set
|
|
CONFIG_LEGACY_IMAGE_FORMAT=y
|
|
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
|
|
CONFIG_USE_PREBOOT=y
|
|
CONFIG_CLOCKS=y
|
|
CONFIG_SPL_MAX_SIZE=0x30000
|
|
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
|
|
CONFIG_SPL_BSS_START_ADDR=0x100000
|
|
CONFIG_SPL_BSS_MAX_SIZE=0x100000
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
CONFIG_SPL_STACK=0xfffffe00
|
|
CONFIG_SPL_STACK_R=y
|
|
CONFIG_SYS_SPL_MALLOC=y
|
|
CONFIG_SYS_SPL_MALLOC_SIZE=0x2000000
|
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
|
CONFIG_SPL_FS_LOAD_ARGS_NAME="system.dtb"
|
|
CONFIG_SPL_FPGA=y
|
|
CONFIG_SPL_OS_BOOT=y
|
|
CONFIG_SYS_SPL_ARGS_ADDR=0x10000000
|
|
CONFIG_SPL_SPI_LOAD=y
|
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x100000
|
|
CONFIG_SYS_MAXARGS=32
|
|
CONFIG_SYS_PBSIZE=2071
|
|
# CONFIG_BOOTM_NETBSD is not set
|
|
CONFIG_SYS_BOOTM_LEN=0x3c00000
|
|
CONFIG_CMD_IMLS=y
|
|
CONFIG_CMD_THOR_DOWNLOAD=y
|
|
CONFIG_CMD_MEMTEST=y
|
|
CONFIG_SYS_ALT_MEMTEST=y
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_FPGA_LOADBP=y
|
|
CONFIG_CMD_FPGA_LOADFS=y
|
|
CONFIG_CMD_FPGA_LOADMK=y
|
|
CONFIG_CMD_FPGA_LOADP=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_NAND_LOCK_UNLOCK=y
|
|
CONFIG_CMD_SF_TEST=y
|
|
CONFIG_CMD_USB=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_BOOTP_MAY_FAIL=y
|
|
CONFIG_CMD_TFTPPUT=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_EFIDEBUG=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_TIMER=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_SQUASHFS=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_CMD_MTDPARTS_SPREAD=y
|
|
CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_OF_BOARD=y
|
|
CONFIG_OF_LIST="zynq-zc702 zynq-zc706 zynq-zc770-xm010 zynq-zc770-xm011 zynq-zc770-xm011-x16 zynq-zc770-xm012 zynq-zc770-xm013 zynq-cc108 zynq-microzed zynq-minized zynq-picozed zynq-zed zynq-zturn zynq-zturn-v5 zynq-zybo zynq-zybo-z7 zynq-dlc20-rev1.0"
|
|
CONFIG_ENV_IS_NOWHERE=y
|
|
CONFIG_ENV_IS_IN_FAT=y
|
|
CONFIG_ENV_IS_IN_NAND=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_NETCONSOLE=y
|
|
CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
|
|
CONFIG_SPL_DM_SEQ_ALIAS=y
|
|
CONFIG_DFU_TIMEOUT=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_DFU_RAM=y
|
|
CONFIG_DFU_SF=y
|
|
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x600000
|
|
CONFIG_FPGA_XILINX=y
|
|
CONFIG_FPGA_ZYNQPL=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_CADENCE=y
|
|
CONFIG_I2C_MUX=y
|
|
CONFIG_I2C_MUX_PCA954x=y
|
|
CONFIG_LED=y
|
|
CONFIG_LED_GPIO=y
|
|
CONFIG_MISC=y
|
|
CONFIG_I2C_EEPROM=y
|
|
CONFIG_MMC_SDHCI=y
|
|
CONFIG_MMC_SDHCI_ZYNQ=y
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_NOR_FLASH=y
|
|
CONFIG_CFI_FLASH=y
|
|
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
|
CONFIG_SYS_FLASH_CFI=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_NAND_ZYNQ=y
|
|
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
|
CONFIG_SF_DEFAULT_SPEED=30000000
|
|
CONFIG_SPI_FLASH_ISSI=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_SPI_FLASH_SST=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_PHY_MARVELL=y
|
|
CONFIG_PHY_MICREL=y
|
|
CONFIG_PHY_MICREL_KSZ90X1=y
|
|
CONFIG_PHY_REALTEK=y
|
|
CONFIG_PHY_XILINX=y
|
|
CONFIG_DM_ETH_PHY=y
|
|
CONFIG_MII=y
|
|
CONFIG_ZYNQ_GEM=y
|
|
CONFIG_ARM_DCC=y
|
|
CONFIG_ZYNQ_SERIAL=y
|
|
CONFIG_ZYNQ_SPI=y
|
|
CONFIG_ZYNQ_QSPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_ULPI_VIEWPORT=y
|
|
CONFIG_USB_ULPI=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="Xilinx"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x03fd
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
|
|
CONFIG_CI_UDC=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_USB_FUNCTION_THOR=y
|
|
CONFIG_DISPLAY=y
|
|
CONFIG_SPL_GZIP=y
|
|
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
|
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|