ddr: altera: Add DDR2 support to Gen5 driver
authorMarek Vasut <marex@denx.de>
Thu, 17 Oct 2019 22:22:31 +0000 (00:22 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 5 Feb 2020 02:01:57 +0000 (03:01 +0100)
commit9a5a90ad9b3234c4739427cbe11219c51f0e9bd1
tree46b9196f5316689236fd04480c0422077445765d
parentcf89ef8d10f240554541c20b2e1bdcdd58d1d7e6
ddr: altera: Add DDR2 support to Gen5 driver

Add DDR2 support to Gen5 DRAM driver. As the DDR2 macro names generated
by Quartus are named differently than the DDR3 ones, use anon unions to
store them in the same structures, without growing their size.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <ley.foon.tan@intel.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
arch/arm/mach-socfpga/include/mach/sdram_gen5.h
arch/arm/mach-socfpga/qts-filter.sh
arch/arm/mach-socfpga/wrap_sdram_config.c
drivers/ddr/altera/sdram_gen5.c
drivers/ddr/altera/sequencer.c
drivers/ddr/altera/sequencer.h