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