]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: Add Armada 38x DDR3 training code from Marvell bin_hdr
authorStefan Roese <sr@denx.de>
Thu, 26 Mar 2015 14:36:56 +0000 (15:36 +0100)
committerLuka Perkov <luka.perkov@sartura.hr>
Thu, 23 Jul 2015 08:38:44 +0000 (10:38 +0200)
commitf1df9364459425abba75488a148ddd98fabf40d7
treededdb8ec0e2a480bdd1637a9b1511fe9c19e7101
parentff9112df8b643ad989e8673452c75e073f3c9ff3
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>
44 files changed:
drivers/ddr/marvell/a38x/Makefile [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_a38x.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_a38x.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_a38x_mc_static.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_a38x_topology.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_a38x_training.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_debug.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_hws_hw_training.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_hws_hw_training.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_hws_hw_training_def.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_hws_sil_training.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_init.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_init.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_logging_def.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_patterns_64bit.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_topology_def.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_bist.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_centralization.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_db.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_hw_algo.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_hw_algo.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip_bist.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip_centralization.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip_db.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip_def.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip_engine.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip_flow.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip_pbs.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip_prv_if.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_ip_static.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_leveling.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_leveling.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_pbs.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr3_training_static.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr_topology_def.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr_training_ip_db.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/silicon_if.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/xor.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/xor.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/xor_regs.h [new file with mode: 0644]
scripts/Makefile.spl