mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
70fb1ae9dd
Add a driver for the timer counter block that can be found on sama5d2. This driver will be used when booting under OP-TEE since the pit timer which is part of the SYSC is secured. Channel 1 & 2 are configured to be chained together which allows to have a 64bits counter. Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
24 lines
616 B
Makefile
24 lines
616 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
|
|
ifndef CONFIG_$(SPL_TPL_)SYSRESET
|
|
obj-y += reset.o
|
|
endif
|
|
ifneq ($(CONFIG_ATMEL_TCB_TIMER),y)
|
|
ifneq ($(CONFIG_ATMEL_PIT_TIMER),y)
|
|
ifneq ($(CONFIG_MCHP_PIT64B_TIMER),y)
|
|
# old non-DM timer driver
|
|
obj-y += timer.o
|
|
endif
|
|
endif
|
|
endif
|