Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 1 | # |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 2 | # Copyright (C) 2014-2016 Stefan Roese <sr@denx.de> |
Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: GPL-2.0+ |
| 5 | # |
| 6 | |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 7 | ifdef CONFIG_ARM64 |
| 8 | |
| 9 | obj-$(CONFIG_ARMADA_3700) += armada3700/ |
Stefan Roese | cb41033 | 2016-05-25 08:13:45 +0200 | [diff] [blame] | 10 | obj-$(CONFIG_ARMADA_8K) += armada8k/ |
| 11 | obj-y += arm64-common.o |
| 12 | obj-y += sata.o |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 13 | |
| 14 | else # CONFIG_ARM64 |
| 15 | |
Stefan Roese | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 16 | ifdef CONFIG_KIRKWOOD |
| 17 | |
| 18 | obj-y = dram.o |
| 19 | obj-y += gpio.o |
| 20 | obj-y += timer.o |
| 21 | |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 22 | else # CONFIG_KIRKWOOD |
Stefan Roese | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 23 | |
Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 24 | obj-y = cpu.o |
Stefan Roese | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 25 | obj-y += dram.o |
Stefan Roese | f3345e6 | 2015-08-06 14:43:13 +0200 | [diff] [blame] | 26 | ifndef CONFIG_SPL_BUILD |
Stefan Roese | 479f9af | 2016-02-10 07:23:00 +0100 | [diff] [blame] | 27 | obj-$(CONFIG_ARMADA_375) += ../../../drivers/ddr/marvell/axp/xor.o |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_ARMADA_38X) += ../../../drivers/ddr/marvell/a38x/xor.o |
| 29 | obj-$(CONFIG_ARMADA_XP) += ../../../drivers/ddr/marvell/axp/xor.o |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 30 | endif # CONFIG_SPL_BUILD |
Stefan Roese | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 31 | obj-y += gpio.o |
| 32 | obj-y += mbus.o |
| 33 | obj-y += timer.o |
Stefan Roese | e463bf3 | 2015-01-19 11:33:42 +0100 | [diff] [blame] | 34 | obj-$(CONFIG_SPL_BUILD) += spl.o |
| 35 | obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o |
Stefan Roese | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 36 | |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 37 | obj-$(CONFIG_ARMADA_38X) += serdes/a38x/ |
| 38 | obj-$(CONFIG_ARMADA_XP) += serdes/axp/ |
Stefan Roese | e5c5aa9 | 2015-04-20 09:28:12 +0200 | [diff] [blame] | 39 | |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 40 | endif # CONFIG_KIRKWOOD |
| 41 | endif # CONFIG_ARM64 |