Merge branch 'master' of git://git.denx.de/u-boot
[platform/kernel/u-boot.git] / arch / arm / mach-mvebu / Makefile
1 #
2 # Copyright (C) 2014-2015 Stefan Roese <sr@denx.de>
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5 #
6
7 ifdef CONFIG_KIRKWOOD
8
9 obj-y   = dram.o
10 obj-y   += gpio.o
11 obj-y   += timer.o
12
13 else
14
15 obj-y   = cpu.o
16 obj-y   += dram.o
17 ifndef CONFIG_SPL_BUILD
18 obj-$(CONFIG_SYS_MVEBU_DDR_A38X) += ../../../drivers/ddr/marvell/a38x/xor.o
19 obj-$(CONFIG_SYS_MVEBU_DDR_AXP) += ../../../drivers/ddr/marvell/axp/xor.o
20 endif
21 obj-y   += gpio.o
22 obj-y   += mbus.o
23 obj-y   += timer.o
24 obj-$(CONFIG_SPL_BUILD) += spl.o
25 obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
26
27 obj-$(CONFIG_SYS_MVEBU_DDR_A38X) += serdes/a38x/
28 obj-$(CONFIG_SYS_MVEBU_DDR_AXP) += serdes/axp/
29
30 endif