Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 1 | # |
Stefan Roese | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 2 | # Copyright (C) 2014-2015 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 | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 7 | ifdef CONFIG_KIRKWOOD |
| 8 | |
| 9 | obj-y = dram.o |
| 10 | obj-y += gpio.o |
| 11 | obj-y += timer.o |
| 12 | |
| 13 | else |
| 14 | |
Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 15 | obj-y = cpu.o |
Stefan Roese | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 16 | obj-y += dram.o |
Stefan Roese | f3345e6 | 2015-08-06 14:43:13 +0200 | [diff] [blame] | 17 | ifndef CONFIG_SPL_BUILD |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 18 | obj-$(CONFIG_ARMADA_38X) += ../../../drivers/ddr/marvell/a38x/xor.o |
| 19 | obj-$(CONFIG_ARMADA_XP) += ../../../drivers/ddr/marvell/axp/xor.o |
Stefan Roese | f3345e6 | 2015-08-06 14:43:13 +0200 | [diff] [blame] | 20 | endif |
Stefan Roese | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 21 | obj-y += gpio.o |
| 22 | obj-y += mbus.o |
| 23 | obj-y += timer.o |
Stefan Roese | e463bf3 | 2015-01-19 11:33:42 +0100 | [diff] [blame] | 24 | obj-$(CONFIG_SPL_BUILD) += spl.o |
| 25 | obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o |
Stefan Roese | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 26 | |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 27 | obj-$(CONFIG_ARMADA_38X) += serdes/a38x/ |
| 28 | obj-$(CONFIG_ARMADA_XP) += serdes/axp/ |
Stefan Roese | e5c5aa9 | 2015-04-20 09:28:12 +0200 | [diff] [blame] | 29 | |
Stefan Roese | 42e5aab | 2015-04-25 06:29:46 +0200 | [diff] [blame] | 30 | endif |