mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
08574ed339
This converts the following to Kconfig: CONFIG_SYS_MONITOR_LEN To do this, we set a default of 0 for everyone because there are a number of cases where we define CONFIG_SYS_MONITOR_LEN but the only impact is that we set TOTAL_MALLOC_LEN to be CONFIG_SYS_MALLOC_LEN + CONFIG_ENV_SIZE, so we must continue to allow all boards to set this value. Update the SPL code to use 200 KB as the default raw U-Boot size directly, if we don't have a real CONFIG_SYS_MONITOR_LEN value. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
104 lines
3.2 KiB
Text
104 lines
3.2 KiB
Text
CONFIG_ARM=y
|
|
# CONFIG_SPL_USE_ARCH_MEMCPY is not set
|
|
# CONFIG_SPL_USE_ARCH_MEMSET is not set
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_TEXT_BASE=0x80100000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_DEFAULT_DEVICE_TREE="am3517-evm"
|
|
CONFIG_SPL_TEXT_BASE=0x40200000
|
|
CONFIG_TARGET_AM3517_EVM=y
|
|
CONFIG_EMIF4=y
|
|
CONFIG_SYS_PROMPT="AM3517_EVM # "
|
|
CONFIG_SPL_SYS_MALLOC_F_LEN=0x2500
|
|
CONFIG_SPL=y
|
|
CONFIG_LTO=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4020ff00
|
|
CONFIG_SYS_MONITOR_LEN=262144
|
|
CONFIG_BOOTDELAY=10
|
|
CONFIG_BOOTCOMMAND="mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device $mmcdev; if run loadbootenv; then run importbootenv; fi; echo Checking if uenvcmd is set ...; if test -n $uenvcmd; then echo Running uenvcmd ...; run uenvcmd; fi; echo Running default loadimage ...; setenv bootfile zImage; if run loadimage; then run loadfdt; run mmcboot; fi; else run nandboot; fi"
|
|
CONFIG_SPL_MAX_SIZE=0xec00
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
CONFIG_SYS_SPL_MALLOC=y
|
|
CONFIG_SYS_SPL_MALLOC_SIZE=0x800000
|
|
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
|
# CONFIG_SPL_FS_EXT4 is not set
|
|
# CONFIG_SPL_I2C is not set
|
|
CONFIG_SPL_MTD_SUPPORT=y
|
|
CONFIG_SPL_NAND_DRIVERS=y
|
|
CONFIG_SPL_NAND_ECC=y
|
|
CONFIG_SPL_NAND_SIMPLE=y
|
|
CONFIG_SPL_NAND_BASE=y
|
|
CONFIG_SPL_OS_BOOT=y
|
|
CONFIG_SYS_SPL_ARGS_ADDR=0x84000000
|
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x2a0000
|
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
|
# CONFIG_SPL_POWER is not set
|
|
CONFIG_SYS_MAXARGS=64
|
|
CONFIG_SYS_PBSIZE=1054
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_SPL=y
|
|
CONFIG_CMD_SPL_NAND_OFS=0xaa0000
|
|
CONFIG_CMD_SPL_WRITE_SIZE=0x20000
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_GPT is not set
|
|
CONFIG_CMD_NAND=y
|
|
# CONFIG_CMD_SPI is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_BOOTP_DNS2=y
|
|
CONFIG_CMD_CACHE=y
|
|
# CONFIG_CMD_TIME is not set
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(MLO),1920k(u-boot),256k(u-boot-env),8m(kernel),512k(dtb),-(rootfs)"
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
# CONFIG_ENV_IS_IN_FAT is not set
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_USE_BOOTFILE=y
|
|
CONFIG_BOOTFILE="uImage"
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_NET_RETRY_COUNT=10
|
|
CONFIG_BOOTP_SEND_HOSTNAME=y
|
|
CONFIG_SPL_DM=y
|
|
CONFIG_DM_PCA953X=y
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_NAND_OMAP_ECCSCHEME_BCH8_CODE_HW_DETECTION_SW=y
|
|
CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
|
|
CONFIG_SYS_NAND_PAGE_COUNT=0x40
|
|
CONFIG_SYS_NAND_PAGE_SIZE=0x800
|
|
CONFIG_SYS_NAND_OOBSIZE=0x40
|
|
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
|
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
|
|
CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
|
|
CONFIG_MII=y
|
|
CONFIG_DRIVER_TI_EMAC=y
|
|
CONFIG_DRIVER_TI_EMAC_USE_RMII=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_SINGLE=y
|
|
CONFIG_DM_PMIC=y
|
|
# CONFIG_SPL_PMIC_CHILDREN is not set
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_DM_REGULATOR_GPIO=y
|
|
# CONFIG_TWL4030_POWER is not set
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_OMAP3_SPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_MUSB_HOST=y
|
|
CONFIG_USB_MUSB_AM35X=y
|
|
CONFIG_BCH=y
|
|
CONFIG_SPL_TINY_MEMSET=y
|
|
# CONFIG_EFI_LOADER is not set
|