blob: d4210af9d2058bc2bbeee38561c51196a52ec2a1 [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
Mario Six10d14492017-01-11 16:01:00 +010030obj-$(CONFIG_MVEBU_EFUSE) += efuse.o
Stefan Roese05b17652016-05-17 15:00:30 +020031endif # CONFIG_SPL_BUILD
Stefan Roese42e5aab2015-04-25 06:29:46 +020032obj-y += gpio.o
33obj-y += mbus.o
34obj-y += timer.o
Stefan Roesee463bf32015-01-19 11:33:42 +010035obj-$(CONFIG_SPL_BUILD) += spl.o
36obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
Stefan Roese42e5aab2015-04-25 06:29:46 +020037
Stefan Roeseeb083e52015-12-21 13:56:33 +010038obj-$(CONFIG_ARMADA_38X) += serdes/a38x/
39obj-$(CONFIG_ARMADA_XP) += serdes/axp/
Stefan Roesee5c5aa92015-04-20 09:28:12 +020040
Stefan Roese05b17652016-05-17 15:00:30 +020041endif # CONFIG_KIRKWOOD
42endif # CONFIG_ARM64