From: Nathan Morrisson <[email protected]>

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

Signed-off-by: Nathan Morrisson <[email protected]>
Signed-off-by: Daniel Schultz <[email protected]>
---
 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

Reply via email to