Stefan Roese | 41e5ee5 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 1 | # |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame^] | 2 | # Copyright (C) 2014-2016 Stefan Roese <sr@denx.de> |
Stefan Roese | 41e5ee5 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: GPL-2.0+ |
| 5 | # |
| 6 | |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame^] | 7 | ifdef CONFIG_ARM64 |
| 8 | |
| 9 | obj-$(CONFIG_ARMADA_3700) += armada3700/ |
| 10 | |
| 11 | else # CONFIG_ARM64 |
| 12 | |
Stefan Roese | d078765 | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 13 | ifdef CONFIG_KIRKWOOD |
| 14 | |
| 15 | obj-y = dram.o |
| 16 | obj-y += gpio.o |
| 17 | obj-y += timer.o |
| 18 | |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame^] | 19 | else # CONFIG_KIRKWOOD |
Stefan Roese | d078765 | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 20 | |
Stefan Roese | 41e5ee5 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 21 | obj-y = cpu.o |
Stefan Roese | d078765 | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 22 | obj-y += dram.o |
Stefan Roese | 0ceb2da | 2015-08-06 14:43:13 +0200 | [diff] [blame] | 23 | ifndef CONFIG_SPL_BUILD |
Stefan Roese | 09e89ab | 2016-02-10 07:23:00 +0100 | [diff] [blame] | 24 | obj-$(CONFIG_ARMADA_375) += ../../../drivers/ddr/marvell/axp/xor.o |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_ARMADA_38X) += ../../../drivers/ddr/marvell/a38x/xor.o |
| 26 | obj-$(CONFIG_ARMADA_XP) += ../../../drivers/ddr/marvell/axp/xor.o |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame^] | 27 | endif # CONFIG_SPL_BUILD |
Stefan Roese | d078765 | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 28 | obj-y += gpio.o |
| 29 | obj-y += mbus.o |
| 30 | obj-y += timer.o |
Stefan Roese | b0f80b9 | 2015-01-19 11:33:42 +0100 | [diff] [blame] | 31 | obj-$(CONFIG_SPL_BUILD) += spl.o |
| 32 | obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o |
Stefan Roese | d078765 | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 33 | |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 34 | obj-$(CONFIG_ARMADA_38X) += serdes/a38x/ |
| 35 | obj-$(CONFIG_ARMADA_XP) += serdes/axp/ |
Stefan Roese | 29b103c | 2015-04-20 09:28:12 +0200 | [diff] [blame] | 36 | |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame^] | 37 | endif # CONFIG_KIRKWOOD |
| 38 | endif # CONFIG_ARM64 |