blob: 07dc16c8170954c5be06fb099e9c43ccf838744b [file] [log] [blame]
Stefan Roese41e5ee52014-10-22 12:13:17 +02001#
Stefan Roesef61aefc2016-05-17 15:00:30 +02002# Copyright (C) 2014-2016 Stefan Roese <sr@denx.de>
Stefan Roese41e5ee52014-10-22 12:13:17 +02003#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
Stefan Roesef61aefc2016-05-17 15:00:30 +02007ifdef CONFIG_ARM64
8
9obj-$(CONFIG_ARMADA_3700) += armada3700/
10
11else # CONFIG_ARM64
12
Stefan Roesed0787652015-04-25 06:29:46 +020013ifdef CONFIG_KIRKWOOD
14
15obj-y = dram.o
16obj-y += gpio.o
17obj-y += timer.o
18
Stefan Roesef61aefc2016-05-17 15:00:30 +020019else # CONFIG_KIRKWOOD
Stefan Roesed0787652015-04-25 06:29:46 +020020
Stefan Roese41e5ee52014-10-22 12:13:17 +020021obj-y = cpu.o
Stefan Roesed0787652015-04-25 06:29:46 +020022obj-y += dram.o
Stefan Roese0ceb2da2015-08-06 14:43:13 +020023ifndef CONFIG_SPL_BUILD
Stefan Roese09e89ab2016-02-10 07:23:00 +010024obj-$(CONFIG_ARMADA_375) += ../../../drivers/ddr/marvell/axp/xor.o
Stefan Roese81e33f42015-12-21 13:56:33 +010025obj-$(CONFIG_ARMADA_38X) += ../../../drivers/ddr/marvell/a38x/xor.o
26obj-$(CONFIG_ARMADA_XP) += ../../../drivers/ddr/marvell/axp/xor.o
Stefan Roesef61aefc2016-05-17 15:00:30 +020027endif # CONFIG_SPL_BUILD
Stefan Roesed0787652015-04-25 06:29:46 +020028obj-y += gpio.o
29obj-y += mbus.o
30obj-y += timer.o
Stefan Roeseb0f80b92015-01-19 11:33:42 +010031obj-$(CONFIG_SPL_BUILD) += spl.o
32obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
Stefan Roesed0787652015-04-25 06:29:46 +020033
Stefan Roese81e33f42015-12-21 13:56:33 +010034obj-$(CONFIG_ARMADA_38X) += serdes/a38x/
35obj-$(CONFIG_ARMADA_XP) += serdes/axp/
Stefan Roese29b103c2015-04-20 09:28:12 +020036
Stefan Roesef61aefc2016-05-17 15:00:30 +020037endif # CONFIG_KIRKWOOD
38endif # CONFIG_ARM64