diff options
author | Wenyou.Yang@microchip.com <Wenyou.Yang@microchip.com> | 2017-08-15 09:40:26 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-26 18:56:08 (GMT) |
commit | 47edaea4943c99f560f3d055b2468333e9192628 (patch) | |
tree | c092a050bfb1e5af4e2579024524795f36fc6ce6 /arch/arm/mach-at91 | |
parent | deff9b1d2ab24955cc4f881d63a701f40d6b491f (diff) | |
download | u-boot-47edaea4943c99f560f3d055b2468333e9192628.tar.xz |
driver: timer: Add the Atmel PIT timer driver
Add the new Atmel PIT timer driver, which supports the driver model
and device tree.
Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/arm926ejs/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/armv7/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/arm926ejs/Makefile b/arch/arm/mach-at91/arm926ejs/Makefile index 624ccd7..dc935fd 100644 --- a/arch/arm/mach-at91/arm926ejs/Makefile +++ b/arch/arm/mach-at91/arm926ejs/Makefile @@ -22,7 +22,9 @@ obj-y += cache.o obj-y += clock.o obj-y += cpu.o obj-y += reset.o +ifeq ($(CONFIG_ATMEL_PIT_TIMER),) obj-y += timer.o +endif ifndef CONFIG_SKIP_LOWLEVEL_INIT obj-y += lowlevel_init.o diff --git a/arch/arm/mach-at91/armv7/Makefile b/arch/arm/mach-at91/armv7/Makefile index 9538bc1..1ede4cb 100644 --- a/arch/arm/mach-at91/armv7/Makefile +++ b/arch/arm/mach-at91/armv7/Makefile @@ -14,4 +14,6 @@ obj-$(CONFIG_SAMA5D4) += sama5d4_devices.o obj-y += clock.o obj-y += cpu.o obj-y += reset.o +ifeq ($(CONFIG_ATMEL_PIT_TIMER),) obj-y += timer.o +endif |