]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp1: get boot mode from BootRom
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 20 Mar 2018 09:54:53 +0000 (10:54 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 7 Apr 2018 00:45:28 +0000 (20:45 -0400)
commit08772f6e79af7b5e7ce4a7f230b7d6f69352a8ec
tree88df49b072d10cb7eb43915e74f34565c7995674
parent0ed232b15386616d186b67a3689e149581dcf2b7
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>
arch/arm/Kconfig
arch/arm/mach-stm32mp/cpu.c
arch/arm/mach-stm32mp/include/mach/stm32.h