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 |
Sandeep Sheriker Mallikarjun | 9cf7f46 | 2019-09-27 13:08:40 +0000 | [diff] [blame] | 17 | obj-$(CONFIG_SAM9X60) += sam9x60_devices.o |
Masahiro Yamada | d8769c6 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 18 | obj-$(CONFIG_AT91_EFLASH) += eflash.o |
| 19 | obj-$(CONFIG_AT91_LED) += led.o |
| 20 | obj-y += clock.o |
| 21 | obj-y += cpu.o |
| 22 | obj-y += reset.o |
Hari Prasath | 9bf459c | 2021-12-13 10:30:03 +0530 | [diff] [blame^] | 23 | ifneq ($(CONFIG_ATMEL_PIT_TIMER),y) |
| 24 | ifneq ($(CONFIG_MCHP_PIT64B_TIMER),y) |
| 25 | # old non-DM timer driver |
| 26 | obj-y += timer.o |
| 27 | endif |
Wenyou.Yang@microchip.com | 47edaea | 2017-08-15 17:40:26 +0800 | [diff] [blame] | 28 | endif |
Stelian Pop | fefb6c1 | 2008-01-30 21:15:54 +0000 | [diff] [blame] | 29 | |
Jean-Christophe PLAGNIOL-VILLARD | 8096c51 | 2009-06-13 12:50:04 +0200 | [diff] [blame] | 30 | ifndef CONFIG_SKIP_LOWLEVEL_INIT |
Stefan Roese | e6a2769 | 2019-04-02 10:57:15 +0200 | [diff] [blame] | 31 | ifndef CONFIG_SKIP_LOWLEVEL_INIT_ONLY |
Masahiro Yamada | d8769c6 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 32 | obj-y += lowlevel_init.o |
Jean-Christophe PLAGNIOL-VILLARD | 8096c51 | 2009-06-13 12:50:04 +0200 | [diff] [blame] | 33 | endif |
Stefan Roese | e6a2769 | 2019-04-02 10:57:15 +0200 | [diff] [blame] | 34 | endif |
Tom Rini | 3a64940 | 2017-03-18 09:01:44 -0400 | [diff] [blame] | 35 | |
| 36 | ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD |
| 37 | ifndef CONFIG_HAS_THUMB2 |
| 38 | |
| 39 | CFLAGS_cache.o := -marm |
| 40 | |
| 41 | endif |
| 42 | endif |