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>
66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_MX7ULP=y
|
|
CONFIG_SYS_TEXT_BASE=0x67800000
|
|
CONFIG_SYS_MALLOC_LEN=0x800000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0xC0000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="imx7ulp-com"
|
|
CONFIG_LDO_ENABLED_MODE=y
|
|
CONFIG_TARGET_MX7ULP_COM=y
|
|
CONFIG_SYS_LOAD_ADDR=0x60800000
|
|
CONFIG_HAS_BOARD_SIZE_LIMIT=y
|
|
CONFIG_BOARD_SIZE_LIMIT=785408
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="if run loadimage; then run mmcboot; fi"
|
|
CONFIG_DEFAULT_FDT_FILE="imx7ulp-com"
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_CBSIZE=256
|
|
CONFIG_SYS_PBSIZE=276
|
|
CONFIG_CMD_BOOTZ=y
|
|
CONFIG_SYS_BOOTM_LEN=0x1000000
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_READ=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
# CONFIG_NET is not set
|
|
CONFIG_DM=y
|
|
CONFIG_BOUNCE_BUFFER=y
|
|
CONFIG_IMX_RGPIO2P=y
|
|
# CONFIG_MXC_GPIO is not set
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_IMX_LPI2C=y
|
|
CONFIG_FSL_USDHC=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SF_DEFAULT_SPEED=40000000
|
|
CONFIG_SPI_FLASH_ATMEL=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_IMX7ULP=y
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_DM_REGULATOR_GPIO=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_FSL_LPUART=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_FSL_QSPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="FSL"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
|
|
CONFIG_CI_UDC=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_ULP_WATCHDOG=y
|