arm: mvebu: Add Armada 38x DDR3 training code from Marvell bin_hdr
This patch adds the DDR3 setup and training code taken from the Marvell
U-Boot repository. This code used to be included as a binary (bin_hdr)
into the Armada A38x boot image. Not linked with the main U-Boot. With this
code addition and the serdes/PHY setup code, the Armada A38x support
in mainline U-Boot is finally self-contained. So the complete image
for booting can be built from mainline U-Boot. Without any additional
external inclusion.
Note:
This code has undergone many hours (days!) of coding-style cleanup and
refactoring. It still is not checkpatch clean though, I'm afraid. As the
factoring of the code has so many levels of indentation that many lines
are longer than 80 chars.
Signed-off-by:
Stefan Roese <sr@denx.de>
Showing
- drivers/ddr/marvell/a38x/Makefile 19 additions, 0 deletionsdrivers/ddr/marvell/a38x/Makefile
- drivers/ddr/marvell/a38x/ddr3_a38x.c 741 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_a38x.c
- drivers/ddr/marvell/a38x/ddr3_a38x.h 98 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_a38x.h
- drivers/ddr/marvell/a38x/ddr3_a38x_mc_static.h 226 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_a38x_mc_static.h
- drivers/ddr/marvell/a38x/ddr3_a38x_topology.h 22 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_a38x_topology.h
- drivers/ddr/marvell/a38x/ddr3_a38x_training.c 40 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_a38x_training.c
- drivers/ddr/marvell/a38x/ddr3_debug.c 1551 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_debug.c
- drivers/ddr/marvell/a38x/ddr3_hws_hw_training.c 148 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_hws_hw_training.c
- drivers/ddr/marvell/a38x/ddr3_hws_hw_training.h 49 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_hws_hw_training.h
- drivers/ddr/marvell/a38x/ddr3_hws_hw_training_def.h 472 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_hws_hw_training_def.h
- drivers/ddr/marvell/a38x/ddr3_hws_sil_training.h 17 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_hws_sil_training.h
- drivers/ddr/marvell/a38x/ddr3_init.c 852 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_init.c
- drivers/ddr/marvell/a38x/ddr3_init.h 395 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_init.h
- drivers/ddr/marvell/a38x/ddr3_logging_def.h 101 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_logging_def.h
- drivers/ddr/marvell/a38x/ddr3_patterns_64bit.h 924 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_patterns_64bit.h
- drivers/ddr/marvell/a38x/ddr3_topology_def.h 76 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_topology_def.h
- drivers/ddr/marvell/a38x/ddr3_training.c 2644 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_training.c
- drivers/ddr/marvell/a38x/ddr3_training_bist.c 289 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_training_bist.c
- drivers/ddr/marvell/a38x/ddr3_training_centralization.c 714 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_training_centralization.c
- drivers/ddr/marvell/a38x/ddr3_training_db.c 652 additions, 0 deletionsdrivers/ddr/marvell/a38x/ddr3_training_db.c
Loading
Please register or sign in to comment