Add SPL support to STM32MP13xx, so U-Boot SPL can initialize the hardware
without depending on any out-of-tree blobs. Enable the ability to start
OpTee-OS as a fitImage loadable, which allows booting the Linux kernel, DT
and OpTee-OS blob together from a single fitImage container file. This
avoids any ABI compatibility problems between OpTee-OS SCMI provider ABI
and the Linux kernel SCMI consumer ABI expectations, which led to unbootable
and irrecoverable systems after updates due to incompatible ABI changes.
Marek Vasut (10):
ARM: stm32: Add STM32MP13xx SPL Kconfig options
ARM: stm32: Add STM32MP13xx SPL hardware initialization
ARM: stm32: Limit early cache enablement in SPL to STM32MP15xx
ARM: stm32: Add STM32MP13xx PMIC initialization for DDR3 DRAM type
ARM: stm32: Add STM32MP13xx debug UART initialization
ARM: dts: stm32: Add stm32mp13-ddr.dtsi template
ARM: dts: stm32: Add 512 MiB DRAM settings for DH STM32MP13xx DHCOR
DHSBC
ARM: dts: stm32: Add STM32MP13x SPL specific DT additions
ARM: dts: stm32: Add SPL specifics for DH STM32MP13xx DHCOR DHSBC
ARM: dts: stm32: Switch defconfig to SPL for DH STM32MP13xx DHCOR
DHSBC
arch/arm/dts/stm32mp1-ddr.dtsi | 187 ++++++++++++++++
arch/arm/dts/stm32mp13-ddr.dtsi | 49 +++++
.../stm32mp13-ddr3-dhsom-1x2Gb-1066-binG.dtsi | 100 +++++++++
arch/arm/dts/stm32mp13-u-boot.dtsi | 89 ++++++++
arch/arm/dts/stm32mp13xx-dhcor-u-boot.dtsi | 156 +++++++++++++-
arch/arm/dts/stm32mp15-ddr.dtsi | 170 +--------------
arch/arm/mach-stm32mp/Kconfig | 7 +-
arch/arm/mach-stm32mp/Kconfig.13x | 3 +-
arch/arm/mach-stm32mp/include/mach/stm32.h | 2 +
arch/arm/mach-stm32mp/stm32mp1/cpu.c | 9 +-
arch/arm/mach-stm32mp/stm32mp1/spl.c | 3 +-
arch/arm/mach-stm32mp/stm32mp1/stm32mp13x.c | 204 ++++++++++++++++++
board/st/common/stpmic1.c | 51 +++--
board/st/stm32mp1/debug_uart.c | 21 +-
configs/stm32mp13_dhcor_defconfig | 30 ++-
configs/stm32mp15_dhsom.config | 48 +----
configs/stm32mp_dhsom.config | 35 ++-
17 files changed, 914 insertions(+), 250 deletions(-)
create mode 100644 arch/arm/dts/stm32mp1-ddr.dtsi
create mode 100644 arch/arm/dts/stm32mp13-ddr.dtsi
create mode 100644 arch/arm/dts/stm32mp13-ddr3-dhsom-1x2Gb-1066-binG.dtsi
---
Cc: Cheick Traore <[email protected]>
Cc: Fabrice Gasnier <[email protected]>
Cc: Gatien Chevallier <[email protected]>
Cc: Lionel Debieve <[email protected]>
Cc: Pascal Zimmermann <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Sughosh Ganu <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
--
2.47.2