blob: dc935fd9e543d2094d0e9862d26d6e26da0262a8 [file] [log] [blame]
Stelian Popd1aea1c2008-01-30 21:15:54 +00001#
2# (C) Copyright 2000-2008
Stelian Pop50497522008-05-08 22:52:09 +02003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Stelian Popd1aea1c2008-01-30 21:15:54 +00004#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Stelian Popd1aea1c2008-01-30 21:15:54 +00006#
7
Masahiro Yamada65aac042013-10-17 17:34:49 +09008obj-$(CONFIG_AT91SAM9260) += at91sam9260_devices.o
9obj-$(CONFIG_AT91SAM9G20) += at91sam9260_devices.o
10obj-$(CONFIG_AT91SAM9XE) += at91sam9260_devices.o
11obj-$(CONFIG_AT91SAM9261) += at91sam9261_devices.o
12obj-$(CONFIG_AT91SAM9G10) += at91sam9261_devices.o
13obj-$(CONFIG_AT91SAM9263) += at91sam9263_devices.o
14obj-$(CONFIG_AT91SAM9RL) += at91sam9rl_devices.o
15obj-$(CONFIG_AT91SAM9M10G45) += at91sam9m10g45_devices.o
16obj-$(CONFIG_AT91SAM9G45) += at91sam9m10g45_devices.o
17obj-$(CONFIG_AT91SAM9N12) += at91sam9n12_devices.o
18obj-$(CONFIG_AT91SAM9X5) += at91sam9x5_devices.o
19obj-$(CONFIG_AT91_EFLASH) += eflash.o
20obj-$(CONFIG_AT91_LED) += led.o
Heiko Schocheree009182016-08-17 09:13:25 +020021obj-y += cache.o
Masahiro Yamada65aac042013-10-17 17:34:49 +090022obj-y += clock.o
23obj-y += cpu.o
24obj-y += reset.o
Wenyou.Yang@microchip.comce8a36f2017-08-15 17:40:26 +080025ifeq ($(CONFIG_ATMEL_PIT_TIMER),)
Masahiro Yamada65aac042013-10-17 17:34:49 +090026obj-y += timer.o
Wenyou.Yang@microchip.comce8a36f2017-08-15 17:40:26 +080027endif
Stelian Popd1aea1c2008-01-30 21:15:54 +000028
Jean-Christophe PLAGNIOL-VILLARDe32eb4c2009-06-13 12:50:04 +020029ifndef CONFIG_SKIP_LOWLEVEL_INIT
Masahiro Yamada65aac042013-10-17 17:34:49 +090030obj-y += lowlevel_init.o
Jean-Christophe PLAGNIOL-VILLARDe32eb4c2009-06-13 12:50:04 +020031endif
Tom Rini1c640a62017-03-18 09:01:44 -040032
33ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
34ifndef CONFIG_HAS_THUMB2
35
36CFLAGS_cache.o := -marm
37
38endif
39endif