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>
61 lines
1.9 KiB
Plaintext
61 lines
1.9 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_SKIP_LOWLEVEL_INIT=y
|
|
CONFIG_SPL_SKIP_LOWLEVEL_INIT=y
|
|
CONFIG_SYS_DCACHE_OFF=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_ARCH_EXYNOS=y
|
|
CONFIG_TEXT_BASE=0x43E00000
|
|
CONFIG_SYS_MALLOC_LEN=0x5004000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
|
CONFIG_ARCH_EXYNOS4=y
|
|
CONFIG_TARGET_ORIGEN=y
|
|
CONFIG_ENV_SIZE=0x4000
|
|
CONFIG_ENV_OFFSET=0x4200
|
|
CONFIG_DEFAULT_DEVICE_TREE="exynos4210-origen"
|
|
CONFIG_SPL_TEXT_BASE=0x02021410
|
|
CONFIG_SYS_PROMPT="ORIGEN # "
|
|
CONFIG_SPL=y
|
|
CONFIG_IDENT_STRING=" for ORIGEN"
|
|
CONFIG_SYS_MEM_TOP_HIDE=0x100000
|
|
CONFIG_SYS_LOAD_ADDR=0x43e00000
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x2040000
|
|
CONFIG_SYS_MONITOR_LEN=262144
|
|
CONFIG_BOOTCOMMAND="if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loadbootscript; then run bootscript; fi; fi;load mmc ${mmcdev} ${loadaddr} uImage; bootm ${loadaddr} "
|
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
# CONFIG_SPL_FRAMEWORK is not set
|
|
CONFIG_SPL_FOOTPRINT_LIMIT=y
|
|
CONFIG_SPL_MAX_FOOTPRINT=0x3800
|
|
CONFIG_SYS_PBSIZE=1024
|
|
# CONFIG_CMD_XIMG is not set
|
|
CONFIG_CMD_THOR_DOWNLOAD=y
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_GPT=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
# CONFIG_CMD_NET is not set
|
|
CONFIG_CMD_CACHE=y
|
|
# CONFIG_CMD_SLEEP is not set
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x2000000
|
|
CONFIG_MMC_DW=y
|
|
CONFIG_MMC_SDHCI=y
|
|
CONFIG_MMC_SDHCI_SDMA=y
|
|
CONFIG_MMC_SDHCI_S5P=y
|
|
CONFIG_MTD=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="Samsung"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x04e8
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x6601
|
|
CONFIG_USB_GADGET_DWC2_OTG=y
|
|
CONFIG_USB_GADGET_DWC2_OTG_PHY=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_USB_FUNCTION_THOR=y
|