blob: 07dc16c8170954c5be06fb099e9c43ccf838744b [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/
10
11else # CONFIG_ARM64
12
Stefan Roese42e5aab2015-04-25 06:29:46 +020013ifdef CONFIG_KIRKWOOD
14
15obj-y = dram.o
16obj-y += gpio.o
17obj-y += timer.o
18
Stefan Roese05b17652016-05-17 15:00:30 +020019else # CONFIG_KIRKWOOD
Stefan Roese42e5aab2015-04-25 06:29:46 +020020
Stefan Roese93e6bf42014-10-22 12:13:17 +020021obj-y = cpu.o
Stefan Roese42e5aab2015-04-25 06:29:46 +020022obj-y += dram.o
Stefan Roesef3345e62015-08-06 14:43:13 +020023ifndef CONFIG_SPL_BUILD
Stefan Roese479f9af2016-02-10 07:23:00 +010024obj-$(CONFIG_ARMADA_375) += ../../../drivers/ddr/marvell/axp/xor.o
Stefan Roeseeb083e52015-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 Roese05b17652016-05-17 15:00:30 +020027endif # CONFIG_SPL_BUILD
Stefan Roese42e5aab2015-04-25 06:29:46 +020028obj-y += gpio.o
29obj-y += mbus.o
30obj-y += timer.o
Stefan Roesee463bf32015-01-19 11:33:42 +010031obj-$(CONFIG_SPL_BUILD) += spl.o
32obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
Stefan Roese42e5aab2015-04-25 06:29:46 +020033
Stefan Roeseeb083e52015-12-21 13:56:33 +010034obj-$(CONFIG_ARMADA_38X) += serdes/a38x/
35obj-$(CONFIG_ARMADA_XP) += serdes/axp/
Stefan Roesee5c5aa92015-04-20 09:28:12 +020036
Stefan Roese05b17652016-05-17 15:00:30 +020037endif # CONFIG_KIRKWOOD
38endif # CONFIG_ARM64