Merge tag 'fsl-qoriq-2022-10-18' of https://source.denx.de/u-boot/custodians/u-boot...
[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-y += clock.o
20 obj-y += cpu.o
21 ifndef CONFIG_$(SPL_TPL_)SYSRESET
22 obj-y   += reset.o
23 endif
24 ifneq ($(CONFIG_ATMEL_PIT_TIMER),y)
25 ifneq ($(CONFIG_MCHP_PIT64B_TIMER),y)
26 # old non-DM timer driver
27 obj-y += timer.o
28 endif
29 endif
30
31 ifndef CONFIG_SKIP_LOWLEVEL_INIT
32 ifndef CONFIG_SKIP_LOWLEVEL_INIT_ONLY
33 obj-y   += lowlevel_init.o
34 endif
35 endif
36
37 ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
38 ifndef CONFIG_HAS_THUMB2
39
40 CFLAGS_cache.o := -marm
41
42 endif
43 endif