diff options
author | Wenyou.Yang@microchip.com <Wenyou.Yang@microchip.com> | 2017-08-15 17:40:26 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-26 14:56:08 -0400 |
commit | 47edaea4943c99f560f3d055b2468333e9192628 (patch) | |
tree | c092a050bfb1e5af4e2579024524795f36fc6ce6 /arch/arm/mach-at91 | |
parent | deff9b1d2ab24955cc4f881d63a701f40d6b491f (diff) | |
download | u-boot-47edaea4943c99f560f3d055b2468333e9192628.tar.gz u-boot-47edaea4943c99f560f3d055b2468333e9192628.tar.xz u-boot-47edaea4943c99f560f3d055b2468333e9192628.zip |
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 624ccd7c2f..dc935fd9e5 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 9538bc1fad..1ede4cb10a 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 |