u-boot/drivers/ddr/marvell/a38x/old
Marek Behún aff4ea11d1 arm: mvebu: a38x: Add optional support for using old DDR3 training code
Add optional support for using old DDR3 training code from 2017.

The code lives in drivers/ddr/marvell/a38x/old/. To prevent symbol
clashing with new DDR3 training code, a special header which renames all
clashing symbols via macros is included and the symbols are prefixed
with 'old_'.

If old DDR3 training support is selected for a board, then the SPL
initialization code calls a new function
  board_use_old_ddr3_training()
to check whether it should use old DDR3 training code. The default
weak implementation returns false, defaulting to new DDR3 training code.

Boards that wish to support this need to select the
  ARMADA_38X_SUPPORT_OLD_DDR3_TRAINING
config option and implement the old version of DDR topology provider,
ddr3_get_topology_map().

Signed-off-by: Marek Behún <kabel@kernel.org>
2024-07-08 08:20:58 +02:00
..
ddr3_a38x.c ddr: marvell: a38x: old: Fix some compiler warning of the old code 2024-07-08 08:20:58 +02:00
ddr3_a38x.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_a38x_mc_static.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_a38x_topology.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_a38x_training.c ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_debug.c ddr: marvell: a38x: old: Backport immutable debug settings 2024-07-08 08:20:58 +02:00
ddr3_hws_hw_training.c ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_hws_hw_training.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_hws_hw_training_def.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_hws_sil_training.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_init.c ddr: marvell: a38x: old: Backport immutable debug settings 2024-07-08 08:20:58 +02:00
ddr3_init.h ddr: marvell: a38x: old: Backport immutable debug settings 2024-07-08 08:20:58 +02:00
ddr3_logging_def.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_patterns_64bit.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_topology_def.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training.c ddr: marvell: a38x: old: Fix some compiler warning of the old code 2024-07-08 08:20:58 +02:00
ddr3_training_bist.c ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_centralization.c ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_db.c ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_hw_algo.c ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_hw_algo.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_ip.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_ip_bist.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_ip_centralization.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_ip_db.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_ip_def.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_ip_engine.c ddr: marvell: a38x: old: Fix some compiler warning of the old code 2024-07-08 08:20:58 +02:00
ddr3_training_ip_engine.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_ip_flow.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_ip_pbs.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_ip_prv_if.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_ip_static.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_leveling.c ddr: marvell: a38x: old: Fix some compiler warning of the old code 2024-07-08 08:20:58 +02:00
ddr3_training_leveling.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_pbs.c ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr3_training_static.c ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr_topology_def.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
ddr_training_ip_db.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
glue_symbol_renames.h arm: mvebu: a38x: Add optional support for using old DDR3 training code 2024-07-08 08:20:58 +02:00
Makefile arm: mvebu: a38x: Add optional support for using old DDR3 training code 2024-07-08 08:20:58 +02:00
silicon_if.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00
xor.h ddr: marvell: a38x: Import old DDR training code from 2017 version of U-Boot 2024-07-08 08:20:58 +02:00