blob: ac009a36da7f88040f72ffb9fc9126a3b5ec1d3b [file] [log] [blame]
Stefan Roese93e6bf42014-10-22 12:13:17 +02001#
Stefan Roese42e5aab2015-04-25 06:29:46 +02002# Copyright (C) 2014-2015 Stefan Roese <sr@denx.de>
Stefan Roese93e6bf42014-10-22 12:13:17 +02003#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
Stefan Roese42e5aab2015-04-25 06:29:46 +02007ifdef CONFIG_KIRKWOOD
8
9obj-y = dram.o
10obj-y += gpio.o
11obj-y += timer.o
12
13else
14
Stefan Roese93e6bf42014-10-22 12:13:17 +020015obj-y = cpu.o
Stefan Roese42e5aab2015-04-25 06:29:46 +020016obj-y += dram.o
Stefan Roesef3345e62015-08-06 14:43:13 +020017ifndef CONFIG_SPL_BUILD
Stefan Roese479f9af2016-02-10 07:23:00 +010018obj-$(CONFIG_ARMADA_375) += ../../../drivers/ddr/marvell/axp/xor.o
Stefan Roeseeb083e52015-12-21 13:56:33 +010019obj-$(CONFIG_ARMADA_38X) += ../../../drivers/ddr/marvell/a38x/xor.o
20obj-$(CONFIG_ARMADA_XP) += ../../../drivers/ddr/marvell/axp/xor.o
Stefan Roesef3345e62015-08-06 14:43:13 +020021endif
Stefan Roese42e5aab2015-04-25 06:29:46 +020022obj-y += gpio.o
23obj-y += mbus.o
24obj-y += timer.o
Stefan Roesee463bf32015-01-19 11:33:42 +010025obj-$(CONFIG_SPL_BUILD) += spl.o
26obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
Stefan Roese42e5aab2015-04-25 06:29:46 +020027
Stefan Roeseeb083e52015-12-21 13:56:33 +010028obj-$(CONFIG_ARMADA_38X) += serdes/a38x/
29obj-$(CONFIG_ARMADA_XP) += serdes/axp/
Stefan Roesee5c5aa92015-04-20 09:28:12 +020030
Stefan Roese42e5aab2015-04-25 06:29:46 +020031endif