summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimona Toaca <[email protected]>2026-04-30 11:33:32 +0300
committerFabio Estevam <[email protected]>2026-05-15 17:31:39 -0300
commitb37fa572ad07e6bb420df99ac8ff6d0936b15c0e (patch)
tree56fe19c6393fb4be02f16b1a658c6f6a424aa345 /arch
parent36755f64b34add7b02be8c1845ae089bfc1b934b (diff)
board: nxp: imx9{4, 5, 52}_evk: Add qb save option in SPL
Call qb save automatically in the board-specific spl_board_init(), if SPL_IMX_QB option is enabled. This makes sure qb_save is called before any image loading is done by the SPL. This option is also suitable for the case where U-Boot proper is missing (Falcon mode). qb save refers to saving DDR training data to NVM, so that OEI runs Quickboot flow on next reboot, skipping full training and achieveing a lower boot time. Signed-off-by: Simona Toaca <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index a40baf24631..66142a835ce 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -80,6 +80,14 @@ config IMX_QB
memory to non-volatile storage. OEI uses the saved data to
run Quickboot flow and skip re-training the DDR PHY.
+config SPL_IMX_QB
+ bool "Run qb save during SPL"
+ depends on SPL && IMX_QB
+ help
+ Automatically save DDR training data (Quickboot data)
+ to current boot device when needed (when OEI runs Training
+ flow and saves qb data to volatile memory).
+
config CMD_IMX_QB
bool "Support the 'qb' command"
default y