blob: 65e90c4fc9af83552af0f1cf12fa5e9524b01b28 [file] [log] [blame]
Stefan Roese93e6bf42014-10-22 12:13:17 +02001#
Stefan Roese05b17652016-05-17 15:00:30 +02002# Copyright (C) 2014-2016 Stefan Roese <sr@denx.de>
Stefan Roese93e6bf42014-10-22 12:13:17 +02003#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
Stefan Roese05b17652016-05-17 15:00:30 +02007ifdef CONFIG_ARM64
8
9obj-$(CONFIG_ARMADA_3700) += armada3700/
Stefan Roesecb410332016-05-25 08:13:45 +020010obj-$(CONFIG_ARMADA_8K) += armada8k/
11obj-y += arm64-common.o
12obj-y += sata.o
Stefan Roese05b17652016-05-17 15:00:30 +020013
14else # CONFIG_ARM64
15
Stefan Roese42e5aab2015-04-25 06:29:46 +020016ifdef CONFIG_KIRKWOOD
17
18obj-y = dram.o
19obj-y += gpio.o
20obj-y += timer.o
21
Stefan Roese05b17652016-05-17 15:00:30 +020022else # CONFIG_KIRKWOOD
Stefan Roese42e5aab2015-04-25 06:29:46 +020023
Stefan Roese93e6bf42014-10-22 12:13:17 +020024obj-y = cpu.o
Stefan Roese42e5aab2015-04-25 06:29:46 +020025obj-y += dram.o
Stefan Roesef3345e62015-08-06 14:43:13 +020026ifndef CONFIG_SPL_BUILD
Stefan Roese479f9af2016-02-10 07:23:00 +010027obj-$(CONFIG_ARMADA_375) += ../../../drivers/ddr/marvell/axp/xor.o
Stefan Roeseeb083e52015-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 Roese05b17652016-05-17 15:00:30 +020030endif # CONFIG_SPL_BUILD
Stefan Roese42e5aab2015-04-25 06:29:46 +020031obj-y += gpio.o
32obj-y += mbus.o
33obj-y += timer.o
Stefan Roesee463bf32015-01-19 11:33:42 +010034obj-$(CONFIG_SPL_BUILD) += spl.o
35obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
Stefan Roese42e5aab2015-04-25 06:29:46 +020036
Stefan Roeseeb083e52015-12-21 13:56:33 +010037obj-$(CONFIG_ARMADA_38X) += serdes/a38x/
38obj-$(CONFIG_ARMADA_XP) += serdes/axp/
Stefan Roesee5c5aa92015-04-20 09:28:12 +020039
Stefan Roese05b17652016-05-17 15:00:30 +020040endif # CONFIG_KIRKWOOD
41endif # CONFIG_ARM64