[PATCH 03/10] board: phytec: common: k3: Introduce PHYTEC_K3_DOFITBOOT_DEFAULT

Daniel Schultz d.schultz at phytec.de
Wed Feb 5 09:01:39 CET 2025


From: Nathan Morrisson <nmorrisson at phytec.com>

Provide a Kconfig entry to set the dofitboot variable during
compile time.

Signed-off-by: Nathan Morrisson <nmorrisson at phytec.com>
Signed-off-by: Daniel Schultz <d.schultz at phytec.de>
---
 board/phytec/common/k3/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/board/phytec/common/k3/Kconfig b/board/phytec/common/k3/Kconfig
index 3404864c39b..c2996016395 100644
--- a/board/phytec/common/k3/Kconfig
+++ b/board/phytec/common/k3/Kconfig
@@ -46,3 +46,10 @@ config PHYTEC_K3_EMBED_RAUC_ENV
 	   Provides logic to select a boot partition based on environment variables
 	   and switch to the other if the boot fails.
 	   Includes include/env/phytec/rauc.env.
+
+config PHYTEC_K3_DOFITBOOT_DEFAULT
+	bool "Boot from a fit image"
+	default n
+	help
+	   When set to 0, the system follows the standard K3 MMC boot flow.
+	   When set to 1, it attempts to boot from a FIT image.
-- 
2.25.1



More information about the U-Boot mailing list