This fragment enables a boot mode for K3 platforms where the R5 SPL
directly loads U-Boot proper, bypassing the A Core SPL stage

The R5 config modifies the payload filename to load tinospl.bin
instead of tispl.bin. The A Core config updates the U-Boot load
address to match the A Core SPL load address, allowing R5 SPL to
load U-Boot directly from that location since A Core SPL is not
present in this boot flow.

This reduces boot time by eliminating the A Core SPL stage.

Signed-off-by: Gokul Praveen <[email protected]>
Reviewed-by Neha Malcom Francis <[email protected]>
---
 board/ti/j784s4/MAINTAINERS | 2 ++
 configs/k3_a72_nospl.config | 1 +
 configs/k3_r5_nospl.config  | 1 +
 3 files changed, 4 insertions(+)
 create mode 100644 configs/k3_a72_nospl.config
 create mode 100644 configs/k3_r5_nospl.config

diff --git a/board/ti/j784s4/MAINTAINERS b/board/ti/j784s4/MAINTAINERS
index f9fe9a9f661..133d79502ee 100644
--- a/board/ti/j784s4/MAINTAINERS
+++ b/board/ti/j784s4/MAINTAINERS
@@ -12,6 +12,8 @@ F:    arch/arm/dts/k3-j784s4-r5.dtsi
 F:     arch/arm/dts/k3-j784s4-ddr.dtsi
 F:     arch/arm/dts/k3-j784s4-ddr-evm-lp4-4266.dtsi
 F:     doc/board/ti/j784s4_evm.rst
+F:     configs/k3_a72_nospl.config
+F:     configs/k3_r5_nospl.config
 
 AM69 SK BOARD
 M:     Apurva Nandan <[email protected]>
diff --git a/configs/k3_a72_nospl.config b/configs/k3_a72_nospl.config
new file mode 100644
index 00000000000..7522acab950
--- /dev/null
+++ b/configs/k3_a72_nospl.config
@@ -0,0 +1 @@
+CONFIG_TEXT_BASE=0x80080000
diff --git a/configs/k3_r5_nospl.config b/configs/k3_r5_nospl.config
new file mode 100644
index 00000000000..94931bf8798
--- /dev/null
+++ b/configs/k3_r5_nospl.config
@@ -0,0 +1 @@
+CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="tinospl.bin"
-- 
2.34.1

Reply via email to