blob: 902dd3a60e3bdb683525b6317cbafabf99178edb [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Stelian Popfefb6c12008-01-30 21:15:54 +00002#
3# (C) Copyright 2000-2008
Stelian Popcce9cfd2008-05-08 22:52:09 +02004# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Stelian Popfefb6c12008-01-30 21:15:54 +00005
Masahiro Yamadad8769c62013-10-17 17:34:49 +09006obj-$(CONFIG_AT91SAM9260) += at91sam9260_devices.o
7obj-$(CONFIG_AT91SAM9G20) += at91sam9260_devices.o
8obj-$(CONFIG_AT91SAM9XE) += at91sam9260_devices.o
9obj-$(CONFIG_AT91SAM9261) += at91sam9261_devices.o
10obj-$(CONFIG_AT91SAM9G10) += at91sam9261_devices.o
11obj-$(CONFIG_AT91SAM9263) += at91sam9263_devices.o
12obj-$(CONFIG_AT91SAM9RL) += at91sam9rl_devices.o
13obj-$(CONFIG_AT91SAM9M10G45) += at91sam9m10g45_devices.o
14obj-$(CONFIG_AT91SAM9G45) += at91sam9m10g45_devices.o
15obj-$(CONFIG_AT91SAM9N12) += at91sam9n12_devices.o
16obj-$(CONFIG_AT91SAM9X5) += at91sam9x5_devices.o
Sandeep Sheriker Mallikarjun9cf7f462019-09-27 13:08:40 +000017obj-$(CONFIG_SAM9X60) += sam9x60_devices.o
Masahiro Yamadad8769c62013-10-17 17:34:49 +090018obj-$(CONFIG_AT91_EFLASH) += eflash.o
Masahiro Yamadad8769c62013-10-17 17:34:49 +090019obj-y += clock.o
20obj-y += cpu.o
Sergiu Moga34a28bd2022-04-01 12:27:26 +030021ifndef CONFIG_$(SPL_TPL_)SYSRESET
Masahiro Yamadad8769c62013-10-17 17:34:49 +090022obj-y += reset.o
Sergiu Moga34a28bd2022-04-01 12:27:26 +030023endif
Hari Prasath9bf459c2021-12-13 10:30:03 +053024ifneq ($(CONFIG_ATMEL_PIT_TIMER),y)
25ifneq ($(CONFIG_MCHP_PIT64B_TIMER),y)
26# old non-DM timer driver
27obj-y += timer.o
28endif
Wenyou.Yang@microchip.com47edaea2017-08-15 17:40:26 +080029endif
Stelian Popfefb6c12008-01-30 21:15:54 +000030
Jean-Christophe PLAGNIOL-VILLARD8096c512009-06-13 12:50:04 +020031ifndef CONFIG_SKIP_LOWLEVEL_INIT
Stefan Roesee6a27692019-04-02 10:57:15 +020032ifndef CONFIG_SKIP_LOWLEVEL_INIT_ONLY
Masahiro Yamadad8769c62013-10-17 17:34:49 +090033obj-y += lowlevel_init.o
Jean-Christophe PLAGNIOL-VILLARD8096c512009-06-13 12:50:04 +020034endif
Stefan Roesee6a27692019-04-02 10:57:15 +020035endif
Tom Rini3a649402017-03-18 09:01:44 -040036
37ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
38ifndef CONFIG_HAS_THUMB2
39
40CFLAGS_cache.o := -marm
41
42endif
43endif