summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimona Toaca <[email protected]>2026-04-30 11:33:30 +0300
committerFabio Estevam <[email protected]>2026-05-15 17:31:39 -0300
commitc9a8f673e0b8dc30bd575faae34e0b1f1e42a706 (patch)
treeca53a827acb55d2c7c61ef746b08b30021136267 /drivers
parent84a17fea21f8877a668f535145a105db4ccf791e (diff)
imx9: Add support for saving DDR training data to NVM
DDR training data can be saved to NVM and be available to OEI at boot time, which will trigger QuickBoot flow. U-Boot only checks for data integrity (CRC32), while OEI is in charge of authentication when it tries to load the data from NVM. On iMX95 A0/A1, 'authentication' is done via another CRC32. On the other SoCs, authentication is done by using ELE to check the MAC stored in the ddrphy_qb_state structure. Supported platforms: iMX94, iMX95, iMX952 (using OEI) Supported storage types: eMMC, SD, SPI flash. Signed-off-by: Viorel Suman <[email protected]> Signed-off-by: Ye Li <[email protected]> Signed-off-by: Simona Toaca <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ddr/imx/imx9/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ddr/imx/imx9/Kconfig b/drivers/ddr/imx/imx9/Kconfig
index b953bca4f06..7b3dbf53dff 100644
--- a/drivers/ddr/imx/imx9/Kconfig
+++ b/drivers/ddr/imx/imx9/Kconfig
@@ -29,4 +29,11 @@ config SAVED_DRAM_TIMING_BASE
after DRAM is trained, need to save the dram related timming
info into memory for low power use.
+config QB_SAVED_STATE_BASE
+ hex "Define the base address for saved QuickBoot state"
+ default 0x8fe00000
+ help
+ Once DRAM is trained, the resulted training info is
+ saved into memory in order to be reachable from U-Boot.
+
endmenu