xref: /openbmc/u-boot/arch/arm/mach-mvebu/Makefile (revision eba6589f)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2014-2016 Stefan Roese <sr@denx.de>
4
5ifdef CONFIG_ARM64
6
7obj-$(CONFIG_ARMADA_3700) += armada3700/
8obj-$(CONFIG_ARMADA_8K) += armada8k/
9obj-y += arm64-common.o
10
11else # CONFIG_ARM64
12
13ifdef CONFIG_KIRKWOOD
14
15obj-y	= dram.o
16obj-y	+= gpio.o
17obj-y	+= timer.o
18
19else # CONFIG_KIRKWOOD
20
21obj-y	= cpu.o
22obj-y	+= dram.o
23ifndef CONFIG_SPL_BUILD
24obj-$(CONFIG_ARMADA_375) += ../../../drivers/ddr/marvell/axp/xor.o
25obj-$(CONFIG_ARMADA_38X) += ../../../drivers/ddr/marvell/a38x/xor.o
26obj-$(CONFIG_ARMADA_XP) += ../../../drivers/ddr/marvell/axp/xor.o
27obj-$(CONFIG_MVEBU_EFUSE) += efuse.o
28endif # CONFIG_SPL_BUILD
29obj-y	+= gpio.o
30obj-y	+= mbus.o
31obj-y	+= timer.o
32obj-$(CONFIG_SPL_BUILD) += spl.o
33obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
34
35obj-$(CONFIG_ARMADA_38X) += serdes/a38x/
36obj-$(CONFIG_ARMADA_XP) += serdes/axp/
37
38endif # CONFIG_KIRKWOOD
39endif # CONFIG_ARM64
40