]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-mvebu/Makefile
ARM: keystone2: Cleanup SoC detection
[u-boot] / arch / arm / mach-mvebu / Makefile
index 737159ba12ae1a3c69872c0062b8dd1e17e15dc3..446ce04109740cb47c57becab6e9f6c1ce557f79 100644 (file)
@@ -1,9 +1,26 @@
 #
-# Copyright (C) 2014 Stefan Roese <sr@denx.de>
+# Copyright (C) 2014-2015 Stefan Roese <sr@denx.de>
 #
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+ifdef CONFIG_KIRKWOOD
+
+obj-y  = dram.o
+obj-y  += gpio.o
+obj-y  += timer.o
+
+else
+
 obj-y  = cpu.o
+obj-y  += dram.o
+obj-y  += gpio.o
+obj-y  += mbus.o
+obj-y  += timer.o
 obj-$(CONFIG_SPL_BUILD) += spl.o
 obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
+
+obj-$(CONFIG_SYS_MVEBU_DDR_A38X) += serdes/a38x/
+obj-$(CONFIG_SYS_MVEBU_DDR_AXP)        += serdes/axp/
+
+endif