mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 19:43:33 +00:00
6c5f79d0ce
The AT91 architecture now has two possible timer blocks, the old PIT timer and the new PIT64B. The timer.c file has an old non DM driver that works for platforms that do not use the ATMEL_PIT_TIMER DM-based driver. Update the Makefile to select this old driver in case neither of the ATMEL_PIT_TIMER and the MCHP_PIT64B_TIMER are selected. Suggested-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
20 lines
534 B
Makefile
20 lines
534 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2008
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# (C) Copyright 2013
|
|
# Bo Shen <voice.shen@atmel.com>
|
|
|
|
obj-$(CONFIG_SAMA5D2) += sama5d2_devices.o clock.o
|
|
obj-$(CONFIG_SAMA5D3) += sama5d3_devices.o clock.o
|
|
obj-$(CONFIG_SAMA5D4) += sama5d4_devices.o clock.o
|
|
obj-$(CONFIG_SAMA7G5) += sama7g5_devices.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
|