2014-10-22 10:13:17 +00:00
|
|
|
#
|
2015-04-25 04:29:46 +00:00
|
|
|
# Copyright (C) 2014-2015 Stefan Roese <sr@denx.de>
|
2014-10-22 10:13:17 +00:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
|
2015-04-25 04:29:46 +00:00
|
|
|
ifdef CONFIG_KIRKWOOD
|
|
|
|
|
|
|
|
obj-y = dram.o
|
|
|
|
obj-y += gpio.o
|
|
|
|
obj-y += timer.o
|
|
|
|
|
|
|
|
else
|
|
|
|
|
2014-10-22 10:13:17 +00:00
|
|
|
obj-y = cpu.o
|
2015-04-25 04:29:46 +00:00
|
|
|
obj-y += dram.o
|
2015-08-06 12:43:13 +00:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
2015-12-21 12:56:33 +00:00
|
|
|
obj-$(CONFIG_ARMADA_38X) += ../../../drivers/ddr/marvell/a38x/xor.o
|
|
|
|
obj-$(CONFIG_ARMADA_XP) += ../../../drivers/ddr/marvell/axp/xor.o
|
2015-08-06 12:43:13 +00:00
|
|
|
endif
|
2015-04-25 04:29:46 +00:00
|
|
|
obj-y += gpio.o
|
|
|
|
obj-y += mbus.o
|
|
|
|
obj-y += timer.o
|
2015-01-19 10:33:42 +00:00
|
|
|
obj-$(CONFIG_SPL_BUILD) += spl.o
|
|
|
|
obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
|
2015-04-25 04:29:46 +00:00
|
|
|
|
2015-12-21 12:56:33 +00:00
|
|
|
obj-$(CONFIG_ARMADA_38X) += serdes/a38x/
|
|
|
|
obj-$(CONFIG_ARMADA_XP) += serdes/axp/
|
2015-04-20 07:28:12 +00:00
|
|
|
|
2015-04-25 04:29:46 +00:00
|
|
|
endif
|