u-boot/drivers/ddr/marvell/a38x
Tony Dinh 6add83991b ddr: marvell: a38x: Perform DDR training sequence again for 2nd boot
- DDR Training sequence happens very fast. The speedup in boot time is
negligible by skipping the training sequence during 2nd boot or after.
So remove the check and skip.
- This change improves the robustness of DDR training. If u-boot crashed
during DDR training, the training could be left in a limbo state, where
the BootROM has recorded that it is already in a 2nd boot. The training
must be repeated in this scenario to get out of this limbo state, but due
to the check it cannot be performed.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
2023-04-13 11:34:47 +02:00
..
ddr3_debug.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_init.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_init.h ddr: marvell: a38x: Remove unused file seq_exec.h 2023-03-24 13:11:47 +01:00
ddr3_logging_def.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_patterns_64bit.h ARM: mvebu: a38x: sync ddr training code with upstream 2018-05-14 10:01:56 +02:00
ddr3_training.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_training_bist.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_training_centralization.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_training_db.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_training_hw_algo.c mv_ddr: ddr3: Update {min,max}_read_sample calculation 2020-07-09 06:49:44 +02:00
ddr3_training_hw_algo.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr3_training_ip.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_training_ip_bist.h ARM: mvebu: a38x: sync ddr training code with upstream 2018-05-14 10:01:56 +02:00
ddr3_training_ip_centralization.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr3_training_ip_db.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_training_ip_def.h ddr: marvell: a38x: add 16Gbit memory devices support 2021-02-26 10:22:29 +01:00
ddr3_training_ip_engine.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_training_ip_engine.h ARM: mvebu: a38x: sync ddr training code with mv_ddr-armada-18.09.02 2018-12-08 16:19:40 +01:00
ddr3_training_ip_flow.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_training_ip_pbs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr3_training_ip_prv_if.h ARM: mvebu: a38x: sync ddr training code with mv_ddr-armada-18.09.02 2018-12-08 16:19:40 +01:00
ddr3_training_leveling.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
ddr3_training_leveling.h ARM: mvebu: a38x: sync ddr training code with mv_ddr-armada-18.09.02 2018-12-08 16:19:40 +01:00
ddr3_training_pbs.c ARM: mvebu: a38x: sync ddr training code with mv_ddr-armada-18.09.02 2018-12-08 16:19:40 +01:00
ddr_ml_wrapper.h ddr: marvell: a38x: Sync code with Marvell mv-ddr-marvell repository 2021-03-12 07:42:37 +01:00
ddr_topology_def.h ddr: marvell: a38x: enum mv_ddr_twin_die: change order 2021-02-26 10:22:29 +01:00
ddr_training_ip_db.h ARM: mvebu: a38x: sync ddr training code with mv_ddr-armada-18.09.02 2018-12-08 16:19:40 +01:00
dram_if.h ARM: mvebu: a38x: sync ddr training code with mv_ddr-armada-18.09.02 2018-12-08 16:19:40 +01:00
Makefile ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr4_mpr_pda_if.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr4_mpr_pda_if.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr4_training.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr4_training.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr4_training_calibration.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr4_training_calibration.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr4_training_db.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr4_training_leveling.c ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr4_training_leveling.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr_build_message.c ddr: marvell: a38x: bump version to 14.0.0 2021-02-26 10:22:29 +01:00
mv_ddr_common.c ARM: mvebu: a38x: sync ddr training code with upstream 2018-05-14 10:01:56 +02:00
mv_ddr_common.h ARM: mvebu: a38x: sync ddr training code with mv_ddr-armada-18.09.02 2018-12-08 16:19:40 +01:00
mv_ddr_plat.c ddr: marvell: a38x: Perform DDR training sequence again for 2nd boot 2023-04-13 11:34:47 +02:00
mv_ddr_plat.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr_regs.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr_spd.c ddr: marvell: a38x: fix memory size calculation using 32bit bus width 2021-02-26 10:22:29 +01:00
mv_ddr_spd.h ddr: marvell: a38x: Add more space for additional info from SPD 2021-03-12 07:42:37 +01:00
mv_ddr_sys_env_lib.c ARM: mvebu: a38x: sync ddr training code with upstream 2018-05-14 10:01:56 +02:00
mv_ddr_sys_env_lib.h arm: mvebu: a38x: Remove dead code ARMADA_39X 2021-03-12 07:44:21 +01:00
mv_ddr_topology.c ddr: marvell: a38x: add support for twin-die combined memory device 2021-02-26 10:22:29 +01:00
mv_ddr_topology.h ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
mv_ddr_training_db.h ARM: mvebu: a38x: sync ddr training code with mv_ddr-armada-18.09.02 2018-12-08 16:19:40 +01:00
xor.c ddr: marvell: a38x: Sync code with Marvell mv-ddr-marvell repository 2021-03-12 07:42:37 +01:00
xor.h ARM: mvebu: a38x: sync ddr training code with upstream 2018-05-14 10:01:56 +02:00
xor_regs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00