mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 00:47:26 +00:00
2df7fc0824
Reduces the CONFIG_DDR_CACHEABLE_SIZE, the size of DDR mapped cacheable before relocation, to support DDR with only 256MB because the OP-TEE reserved memory is located at end of the DDR. By default the new size of 128MB cacheable memory is enough in dram_bank_mmu_setup() for early_enable_caches() in arch_cpu_init() and is correct for DDR size = 256MB. After relocation the real size of DDR, excluding the no-map reserved memory, is used after the U-Boot device tree parsing. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
78 lines
1.8 KiB
Text
78 lines
1.8 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_STM32MP=y
|
|
CONFIG_TFABOOT=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x180000
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc0400000
|
|
CONFIG_ENV_OFFSET=0x900000
|
|
CONFIG_DEFAULT_DEVICE_TREE="stm32mp135f-dk"
|
|
CONFIG_SYS_PROMPT="STM32MP> "
|
|
CONFIG_STM32MP13x=y
|
|
CONFIG_DDR_CACHEABLE_SIZE=0x8000000
|
|
CONFIG_CMD_STM32KEY=y
|
|
CONFIG_TARGET_ST_STM32MP13x=y
|
|
CONFIG_ENV_OFFSET_REDUND=0x940000
|
|
# CONFIG_ARMV7_NONSEC is not set
|
|
CONFIG_SYS_LOAD_ADDR=0xc2000000
|
|
CONFIG_SYS_MEMTEST_START=0xc0000000
|
|
CONFIG_SYS_MEMTEST_END=0xc4000000
|
|
CONFIG_FIT=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_BOOTDELAY=1
|
|
CONFIG_BOOTCOMMAND="run bootcmd_stm32mp"
|
|
CONFIG_SYS_BOOTM_LEN=0x2000000
|
|
CONFIG_CMD_ADTIMG=y
|
|
CONFIG_CMD_ERASEENV=y
|
|
CONFIG_CMD_NVEDIT_EFI=y
|
|
CONFIG_CMD_M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=y
|
|
CONFIG_TEE=y
|
|
CONFIG_OPTEE=y
|
|
# CONFIG_OPTEE_TA_AVB is not set
|
|
CONFIG_ERRNO_STR=y
|
|
# CONFIG_LMB_USE_MAX_REGIONS is not set
|
|
CONFIG_LMB_MEMORY_REGIONS=2
|
|
CONFIG_LMB_RESERVED_REGIONS=16
|