]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:49:03 +0000 (13:49 +0200)
commitf2927dbf41181f4ee20ea43bb58f7aa9e792632a
treeac8ada03d8897ddca139e3282b39ab662b7d0905
parent25b1e44416dad6469eceebd7255e72be145e6080
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