blob: 65e90c4fc9af83552af0f1cf12fa5e9524b01b28 [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/
Stefan Roese21b29fc2016-05-25 08:13:45 +020010obj-$(CONFIG_ARMADA_8K) += armada8k/
11obj-y += arm64-common.o
12obj-y += sata.o
Stefan Roesef61aefc2016-05-17 15:00:30 +020013
14else # CONFIG_ARM64
15
Stefan Roesed0787652015-04-25 06:29:46 +020016ifdef CONFIG_KIRKWOOD
17
18obj-y = dram.o
19obj-y += gpio.o
20obj-y += timer.o
21
Stefan Roesef61aefc2016-05-17 15:00:30 +020022else # CONFIG_KIRKWOOD
Stefan Roesed0787652015-04-25 06:29:46 +020023
Stefan Roese41e5ee52014-10-22 12:13:17 +020024obj-y = cpu.o
Stefan Roesed0787652015-04-25 06:29:46 +020025obj-y += dram.o
Stefan Roese0ceb2da2015-08-06 14:43:13 +020026ifndef CONFIG_SPL_BUILD
Stefan Roese09e89ab2016-02-10 07:23:00 +010027obj-$(CONFIG_ARMADA_375) += ../../../drivers/ddr/marvell/axp/xor.o
Stefan Roese81e33f42015-12-21 13:56:33 +010028obj-$(CONFIG_ARMADA_38X) += ../../../drivers/ddr/marvell/a38x/xor.o
29obj-$(CONFIG_ARMADA_XP) += ../../../drivers/ddr/marvell/axp/xor.o
Stefan Roesef61aefc2016-05-17 15:00:30 +020030endif # CONFIG_SPL_BUILD
Stefan Roesed0787652015-04-25 06:29:46 +020031obj-y += gpio.o
32obj-y += mbus.o
33obj-y += timer.o
Stefan Roeseb0f80b92015-01-19 11:33:42 +010034obj-$(CONFIG_SPL_BUILD) += spl.o
35obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
Stefan Roesed0787652015-04-25 06:29:46 +020036
Stefan Roese81e33f42015-12-21 13:56:33 +010037obj-$(CONFIG_ARMADA_38X) += serdes/a38x/
38obj-$(CONFIG_ARMADA_XP) += serdes/axp/
Stefan Roese29b103c2015-04-20 09:28:12 +020039
Stefan Roesef61aefc2016-05-17 15:00:30 +020040endif # CONFIG_KIRKWOOD
41endif # CONFIG_ARM64