blob: b96b81bd3933eeb2a404a46a0d61146fc1094738 [file] [log] [blame]
Stefan Roese41e5ee52014-10-22 12:13:17 +02001#
Stefan Roesed0787652015-04-25 06:29:46 +02002# Copyright (C) 2014-2015 Stefan Roese <sr@denx.de>
Stefan Roese41e5ee52014-10-22 12:13:17 +02003#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
Stefan Roesed0787652015-04-25 06:29:46 +02007ifdef CONFIG_KIRKWOOD
8
9obj-y = dram.o
10obj-y += gpio.o
11obj-y += timer.o
12
13else
14
Stefan Roese41e5ee52014-10-22 12:13:17 +020015obj-y = cpu.o
Stefan Roesed0787652015-04-25 06:29:46 +020016obj-y += dram.o
Stefan Roese0ceb2da2015-08-06 14:43:13 +020017ifndef CONFIG_SPL_BUILD
Stefan Roese81e33f42015-12-21 13:56:33 +010018obj-$(CONFIG_ARMADA_38X) += ../../../drivers/ddr/marvell/a38x/xor.o
19obj-$(CONFIG_ARMADA_XP) += ../../../drivers/ddr/marvell/axp/xor.o
Stefan Roese0ceb2da2015-08-06 14:43:13 +020020endif
Stefan Roesed0787652015-04-25 06:29:46 +020021obj-y += gpio.o
22obj-y += mbus.o
23obj-y += timer.o
Stefan Roeseb0f80b92015-01-19 11:33:42 +010024obj-$(CONFIG_SPL_BUILD) += spl.o
25obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
Stefan Roesed0787652015-04-25 06:29:46 +020026
Stefan Roese81e33f42015-12-21 13:56:33 +010027obj-$(CONFIG_ARMADA_38X) += serdes/a38x/
28obj-$(CONFIG_ARMADA_XP) += serdes/axp/
Stefan Roese29b103c2015-04-20 09:28:12 +020029
Stefan Roesed0787652015-04-25 06:29:46 +020030endif