summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sunxi/Makefile
diff options
context:
space:
mode:
authorJens Kuske <jenskuske@gmail.com>2017-01-02 11:48:42 +0000
committerJagan Teki <jagan@openedev.com>2017-01-04 16:37:42 +0100
commit1bc464be1fc559a3f6dc1334297245d5b27b9b57 (patch)
tree8e89717b68a291b27cfc0683fbe218209554c74b /arch/arm/mach-sunxi/Makefile
parentb55615908b51721f7cad607f923511468443409b (diff)
downloadu-boot-imx-1bc464be1fc559a3f6dc1334297245d5b27b9b57.zip
u-boot-imx-1bc464be1fc559a3f6dc1334297245d5b27b9b57.tar.gz
u-boot-imx-1bc464be1fc559a3f6dc1334297245d5b27b9b57.tar.bz2
sunxi: A64: use H3 DRAM initialization code for A64 as well
The A64 DRAM controller is very similar to the H3 one, so the code can be reused with some small changes. This refactoring does not change the code size for the existing H3 part. [Andre: rework from #ifdefs to using socid parameters in static functions, minor fixes, merging in fixes from Jens] Signed-off-by: Jens Kuske <jenskuske@gmail.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'arch/arm/mach-sunxi/Makefile')
-rw-r--r--arch/arm/mach-sunxi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Makefile b/arch/arm/mach-sunxi/Makefile
index e73114e..7daba11 100644
--- a/arch/arm/mach-sunxi/Makefile
+++ b/arch/arm/mach-sunxi/Makefile
@@ -50,4 +50,5 @@ obj-$(CONFIG_MACH_SUN8I_A33) += dram_sun8i_a33.o
obj-$(CONFIG_MACH_SUN8I_A83T) += dram_sun8i_a83t.o
obj-$(CONFIG_MACH_SUN8I_H3) += dram_sun8i_h3.o
obj-$(CONFIG_MACH_SUN9I) += dram_sun9i.o
+obj-$(CONFIG_MACH_SUN50I) += dram_sun8i_h3.o
endif