]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: mvebu: a38x: sync ddr training code with upstream
authorChris Packham <judge.packham@gmail.com>
Thu, 10 May 2018 01:28:29 +0000 (13:28 +1200)
committerStefan Roese <sr@denx.de>
Mon, 14 May 2018 08:01:56 +0000 (10:01 +0200)
commit2b4ffbf6b4944a0b3125fd2c9c0ba3568264367a
treedc75d0e07677505b8611a670483a349f214c9e75
parent00a7767766ace1f3ca3de7f9d44e145b9092bbad
ARM: mvebu: a38x: sync ddr training code with upstream

This syncs drivers/ddr/marvell/a38x/ with the mv_ddr-armada-17.10 branch
of https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git.

The upstream code is incorporated omitting the ddr4 and apn806 and
folding the nested a38x directory up one level. After that a
semi-automated step is used to drop unused features with unifdef

  find drivers/ddr/marvell/a38x/ -name '*.[ch]' | \
    xargs unifdef -m -UMV_DDR -UMV_DDR_ATF -UCONFIG_DDR4 \
-UCONFIG_APN806 -UCONFIG_MC_STATIC \
-UCONFIG_MC_STATIC_PRINT -UCONFIG_PHY_STATIC \
-UCONFIG_64BIT

INTER_REGS_BASE is updated to be defined as SOC_REGS_PHY_BASE.

Some now empty files are removed and the ternary license is replaced
with a SPDX GPL-2.0+ identifier.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Stefan Roese <sr@denx.de>
56 files changed:
board/CZ.NIC/turris_omnia/turris_omnia.c
board/Marvell/db-88f6820-amc/db-88f6820-amc.c
board/Marvell/db-88f6820-gp/db-88f6820-gp.c
board/gdsys/a38x/controlcenterdc.c
board/solidrun/clearfog/clearfog.c
drivers/ddr/marvell/a38x/Makefile
drivers/ddr/marvell/a38x/ddr3_a38x.c [deleted file]
drivers/ddr/marvell/a38x/ddr3_a38x.h [deleted file]
drivers/ddr/marvell/a38x/ddr3_a38x_topology.h [deleted file]
drivers/ddr/marvell/a38x/ddr3_a38x_training.c [deleted file]
drivers/ddr/marvell/a38x/ddr3_debug.c
drivers/ddr/marvell/a38x/ddr3_hws_hw_training.c [deleted file]
drivers/ddr/marvell/a38x/ddr3_hws_hw_training.h [deleted file]
drivers/ddr/marvell/a38x/ddr3_hws_hw_training_def.h [deleted file]
drivers/ddr/marvell/a38x/ddr3_hws_sil_training.h [deleted file]
drivers/ddr/marvell/a38x/ddr3_init.c
drivers/ddr/marvell/a38x/ddr3_init.h
drivers/ddr/marvell/a38x/ddr3_logging_def.h
drivers/ddr/marvell/a38x/ddr3_patterns_64bit.h
drivers/ddr/marvell/a38x/ddr3_topology_def.h
drivers/ddr/marvell/a38x/ddr3_training.c
drivers/ddr/marvell/a38x/ddr3_training_bist.c
drivers/ddr/marvell/a38x/ddr3_training_centralization.c
drivers/ddr/marvell/a38x/ddr3_training_db.c
drivers/ddr/marvell/a38x/ddr3_training_hw_algo.c
drivers/ddr/marvell/a38x/ddr3_training_ip.h
drivers/ddr/marvell/a38x/ddr3_training_ip_bist.h
drivers/ddr/marvell/a38x/ddr3_training_ip_db.h
drivers/ddr/marvell/a38x/ddr3_training_ip_def.h
drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c
drivers/ddr/marvell/a38x/ddr3_training_ip_engine.h
drivers/ddr/marvell/a38x/ddr3_training_ip_flow.h
drivers/ddr/marvell/a38x/ddr3_training_ip_prv_if.h
drivers/ddr/marvell/a38x/ddr3_training_ip_static.h [deleted file]
drivers/ddr/marvell/a38x/ddr3_training_leveling.c
drivers/ddr/marvell/a38x/ddr3_training_leveling.h
drivers/ddr/marvell/a38x/ddr3_training_pbs.c
drivers/ddr/marvell/a38x/ddr3_training_static.c [deleted file]
drivers/ddr/marvell/a38x/ddr_ml_wrapper.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/ddr_topology_def.h
drivers/ddr/marvell/a38x/mv_ddr_build_message.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_common.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_common.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_plat.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_plat.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_regs.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_spd.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_spd.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_sys_env_lib.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_sys_env_lib.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_topology.c [new file with mode: 0644]
drivers/ddr/marvell/a38x/mv_ddr_topology.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/seq_exec.h [new file with mode: 0644]
drivers/ddr/marvell/a38x/silicon_if.h [deleted file]
drivers/ddr/marvell/a38x/xor.c
drivers/ddr/marvell/a38x/xor.h