mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 16:07:30 +00:00
9bf459c23d
New SoC's of AT91 family with ARM-9 core includes a regular timer and a 64-bit timer.This patch adds a compile time option to the Makefile such that the old timer driver is chosen and compiled as default if none of timer configuration options are explicitly defined in the board configs. Signed-off-by: Hari Prasath <Hari.PrasathGE@microchip.com> Reviewed-by: Eugen Hristev <eugen.hristev@microchip.com>
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2008
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
obj-$(CONFIG_AT91SAM9260) += at91sam9260_devices.o
|
|
obj-$(CONFIG_AT91SAM9G20) += at91sam9260_devices.o
|
|
obj-$(CONFIG_AT91SAM9XE) += at91sam9260_devices.o
|
|
obj-$(CONFIG_AT91SAM9261) += at91sam9261_devices.o
|
|
obj-$(CONFIG_AT91SAM9G10) += at91sam9261_devices.o
|
|
obj-$(CONFIG_AT91SAM9263) += at91sam9263_devices.o
|
|
obj-$(CONFIG_AT91SAM9RL) += at91sam9rl_devices.o
|
|
obj-$(CONFIG_AT91SAM9M10G45) += at91sam9m10g45_devices.o
|
|
obj-$(CONFIG_AT91SAM9G45) += at91sam9m10g45_devices.o
|
|
obj-$(CONFIG_AT91SAM9N12) += at91sam9n12_devices.o
|
|
obj-$(CONFIG_AT91SAM9X5) += at91sam9x5_devices.o
|
|
obj-$(CONFIG_SAM9X60) += sam9x60_devices.o
|
|
obj-$(CONFIG_AT91_EFLASH) += eflash.o
|
|
obj-$(CONFIG_AT91_LED) += led.o
|
|
obj-y += clock.o
|
|
obj-y += cpu.o
|
|
obj-y += reset.o
|
|
ifneq ($(CONFIG_ATMEL_PIT_TIMER),y)
|
|
ifneq ($(CONFIG_MCHP_PIT64B_TIMER),y)
|
|
# old non-DM timer driver
|
|
obj-y += timer.o
|
|
endif
|
|
endif
|
|
|
|
ifndef CONFIG_SKIP_LOWLEVEL_INIT
|
|
ifndef CONFIG_SKIP_LOWLEVEL_INIT_ONLY
|
|
obj-y += lowlevel_init.o
|
|
endif
|
|
endif
|
|
|
|
ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
|
|
ifndef CONFIG_HAS_THUMB2
|
|
|
|
CFLAGS_cache.o := -marm
|
|
|
|
endif
|
|
endif
|