mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-04 07:17:17 +00:00
Add initial support for STM32MP2 SoCs family. SoCs information are available here : https://www.st.com/content/st_com/en/campaigns/microprocessor-stm32mp2.html Migrate all MP1 related code into stm32mp1/ directory Create stm32mp2 directory dedicated for STM32MP2 SoCs. Common code to MP1, MP13 and MP25 is kept into arch/arm/mach-stm32/mach-stm32mp directory : - boot_params.c - bsec - cmd_stm32key - cmd_stm32prog - dram_init.c - syscon.c - ecdsa_romapi.c For STM32MP2, it also : - adds memory region description needed for ARMv8 MMU. - enables early data cache before relocation. During the transition before/after relocation, the MMU, initially setup at the beginning of DDR, must be setup again at a correct address after relocation. This is done in enables_caches() by disabling cache, force arch.tlb_fillptr to NULL which will force the MMU to be setup again but with a new value for gd->arch.tlb_addr. gd->arch.tlb_addr has been updated after relocation in arm_reserve_mmu(). Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
52 lines
1.2 KiB
Text
52 lines
1.2 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_STM32MP=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x400000
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x90000000
|
|
CONFIG_DEFAULT_DEVICE_TREE="stm32mp257f-ev1"
|
|
CONFIG_STM32MP25X=y
|
|
CONFIG_DDR_CACHEABLE_SIZE=0x10000000
|
|
CONFIG_TARGET_ST_STM32MP25X=y
|
|
CONFIG_SYS_LOAD_ADDR=0x84000000
|
|
CONFIG_SYS_MEMTEST_START=0x84000000
|
|
CONFIG_SYS_MEMTEST_END=0x88000000
|
|
CONFIG_FIT=y
|
|
CONFIG_SYS_BOOTM_LEN=0x2000000
|
|
CONFIG_BOOTDELAY=1
|
|
CONFIG_LAST_STAGE_INIT=y
|
|
CONFIG_SYS_PROMPT="STM32MP> "
|
|
# CONFIG_CMD_BDI is not set
|
|
CONFIG_CMD_BOOTZ=y
|
|
CONFIG_CMD_ADTIMG=y
|
|
# CONFIG_CMD_ELF is not set
|
|
CONFIG_CMD_MEMINFO=y
|
|
CONFIG_CMD_MEMTEST=y
|
|
CONFIG_CMD_CLK=y
|
|
CONFIG_CMD_GPIO=y
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_NET is not set
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_RNG=y
|
|
CONFIG_CMD_TIMER=y
|
|
CONFIG_CMD_REGULATOR=y
|
|
CONFIG_CMD_LOG=y
|
|
CONFIG_OF_LIVE=y
|
|
CONFIG_GPIO_HOG=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_STM32F7=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_PINCONF=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_DM_REGULATOR_GPIO=y
|
|
CONFIG_RAM=y
|
|
# CONFIG_STM32MP1_DDR is not set
|
|
CONFIG_DM_RNG=y
|
|
CONFIG_SERIAL_RX_BUFFER=y
|
|
# CONFIG_OPTEE_TA_AVB is not set
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_STM32MP=y
|
|
CONFIG_WDT_ARM_SMC=y
|
|
CONFIG_ERRNO_STR=y
|
|
# CONFIG_LMB_USE_MAX_REGIONS is not set
|
|
CONFIG_LMB_MEMORY_REGIONS=2
|
|
CONFIG_LMB_RESERVED_REGIONS=32
|