stm32mp1: get boot mode from BootRom
SPL copy BootRom boot mode information
in TAMP register 21.
This TAMP register information is used
after relocation to set 2 env variables
- boot_device
- boot_instance
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 068ea1e..777b2f0 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1153,6 +1153,7 @@
config ARCH_STM32MP
bool "Support STMicroelectronics STM32MP Socs with cortex A"
+ select ARCH_MISC_INIT
select BOARD_LATE_INIT
select CLK
select DM