Merge tag 'v2022.01-rc4' into next
[platform/kernel/u-boot.git] / arch / arm / mach-at91 / arm926ejs / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # (C) Copyright 2000-2008
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
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_SAM9X60)           += sam9x60_devices.o
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
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
28 endif
29
30 ifndef CONFIG_SKIP_LOWLEVEL_INIT
31 ifndef CONFIG_SKIP_LOWLEVEL_INIT_ONLY
32 obj-y   += lowlevel_init.o
33 endif
34 endif
35
36 ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
37 ifndef CONFIG_HAS_THUMB2
38
39 CFLAGS_cache.o := -marm
40
41 endif
42 endif