Stelian Pop | d1aea1c | 2008-01-30 21:15:54 +0000 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2000-2008 |
Stelian Pop | 5049752 | 2008-05-08 22:52:09 +0200 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Stelian Pop | d1aea1c | 2008-01-30 21:15:54 +0000 | [diff] [blame] | 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Stelian Pop | d1aea1c | 2008-01-30 21:15:54 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 8 | obj-$(CONFIG_AT91SAM9260) += at91sam9260_devices.o |
| 9 | obj-$(CONFIG_AT91SAM9G20) += at91sam9260_devices.o |
| 10 | obj-$(CONFIG_AT91SAM9XE) += at91sam9260_devices.o |
| 11 | obj-$(CONFIG_AT91SAM9261) += at91sam9261_devices.o |
| 12 | obj-$(CONFIG_AT91SAM9G10) += at91sam9261_devices.o |
| 13 | obj-$(CONFIG_AT91SAM9263) += at91sam9263_devices.o |
| 14 | obj-$(CONFIG_AT91SAM9RL) += at91sam9rl_devices.o |
| 15 | obj-$(CONFIG_AT91SAM9M10G45) += at91sam9m10g45_devices.o |
| 16 | obj-$(CONFIG_AT91SAM9G45) += at91sam9m10g45_devices.o |
| 17 | obj-$(CONFIG_AT91SAM9N12) += at91sam9n12_devices.o |
| 18 | obj-$(CONFIG_AT91SAM9X5) += at91sam9x5_devices.o |
| 19 | obj-$(CONFIG_AT91_EFLASH) += eflash.o |
| 20 | obj-$(CONFIG_AT91_LED) += led.o |
Heiko Schocher | ee00918 | 2016-08-17 09:13:25 +0200 | [diff] [blame] | 21 | obj-y += cache.o |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 22 | obj-y += clock.o |
| 23 | obj-y += cpu.o |
| 24 | obj-y += reset.o |
Wenyou.Yang@microchip.com | ce8a36f | 2017-08-15 17:40:26 +0800 | [diff] [blame^] | 25 | ifeq ($(CONFIG_ATMEL_PIT_TIMER),) |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 26 | obj-y += timer.o |
Wenyou.Yang@microchip.com | ce8a36f | 2017-08-15 17:40:26 +0800 | [diff] [blame^] | 27 | endif |
Stelian Pop | d1aea1c | 2008-01-30 21:15:54 +0000 | [diff] [blame] | 28 | |
Jean-Christophe PLAGNIOL-VILLARD | e32eb4c | 2009-06-13 12:50:04 +0200 | [diff] [blame] | 29 | ifndef CONFIG_SKIP_LOWLEVEL_INIT |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 30 | obj-y += lowlevel_init.o |
Jean-Christophe PLAGNIOL-VILLARD | e32eb4c | 2009-06-13 12:50:04 +0200 | [diff] [blame] | 31 | endif |
Tom Rini | 1c640a6 | 2017-03-18 09:01:44 -0400 | [diff] [blame] | 32 | |
| 33 | ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD |
| 34 | ifndef CONFIG_HAS_THUMB2 |
| 35 | |
| 36 | CFLAGS_cache.o := -marm |
| 37 | |
| 38 | endif |
| 39 | endif |