summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-03 11:52:31 -0600
committerTom Rini <[email protected]>2025-11-03 13:18:26 -0600
commitc9fdb9ac4d5234953ffaaef0cfc9d4ccb03f0ce5 (patch)
tree5627c1415e650f1d53d1185052a1e6c2f3beeaee /arch
parent28b81c07beec2b6bfc08b36bd4ba87699a9a4280 (diff)
parent20fe0f5dadb70c24163c2c5f1ecd27c569ddd13c (diff)
Merge patch series "Allow falcon boot from A-core SPL on K3 devices"
Anshul Dalal <[email protected]> says: With the addition of secure falcon mode since commit 7674ac9c820f ("Merge patch series "Add support for secure falcon mode: disable args file""), this series now adds support for the same to TI's K3 devices and documents the feature taking AM62x EVM as an example. With secure falcon mode from A-Core SPL, the boot flow changes as follows: Existing: R5 SPL -> TFA -> OP-TEE -> A-Core SPL -> *U-Boot* -> Linux Kernel Modified: R5 SPL -> TFA -> OP-TEE -> A-Core SPL -> Linux Kernel Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-k3/common.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index 7c06764af82..04a0f232d84 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -480,3 +480,11 @@ release_proc_ctrl:
proc_ops->proc_release(ti_sci, PROC_ID_MCU_R5FSS0_CORE1);
return ret;
}
+
+#if IS_ENABLED(CONFIG_ARM64) && IS_ENABLED(CONFIG_SPL_OS_BOOT_SECURE)
+int spl_start_uboot(void)
+{
+ /* Always boot to linux on Cortex-A SPL with CONFIG_SPL_OS_BOOT set */
+ return 0;
+}
+#endif