summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/include/mach
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2015-02-04 15:53:02 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-04-01 01:04:27 +0200
commita2df3a37d78583f40e2d2053e5cf0ff689ac4aa4 (patch)
treed5fa6399b4f5839eb022da44ba38781f441a6ac4 /arch/arm/mach-at91/include/mach
parenta02c8a31bd34d0f771503783c7e4221e37ebd6d6 (diff)
downloadu-boot-imx-a2df3a37d78583f40e2d2053e5cf0ff689ac4aa4.zip
u-boot-imx-a2df3a37d78583f40e2d2053e5cf0ff689ac4aa4.tar.gz
u-boot-imx-a2df3a37d78583f40e2d2053e5cf0ff689ac4aa4.tar.bz2
ARM: atmel: armv7: switch to use common timer functions
The commit 8dfafdd (Introduce common timer functions), add common timer functions, we can use them directly. Signed-off-by: Bo Shen <voice.shen@atmel.com> [rebase on current master] Sigend-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/mach-at91/include/mach')
-rw-r--r--arch/arm/mach-at91/include/mach/sama5d3.h3
-rw-r--r--arch/arm/mach-at91/include/mach/sama5d4.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/sama5d3.h b/arch/arm/mach-at91/include/mach/sama5d3.h
index 227ba80..b749cb3 100644
--- a/arch/arm/mach-at91/include/mach/sama5d3.h
+++ b/arch/arm/mach-at91/include/mach/sama5d3.h
@@ -189,6 +189,9 @@
#define PIO_SCDR_DIV 0x3fff
#define CPU_HAS_PCR
+/* Timer */
+#define CONFIG_SYS_TIMER_COUNTER 0xfffffe3c
+
/*
* PMECC table in ROM
*/
diff --git a/arch/arm/mach-at91/include/mach/sama5d4.h b/arch/arm/mach-at91/include/mach/sama5d4.h
index f30cb5f..7773ace 100644
--- a/arch/arm/mach-at91/include/mach/sama5d4.h
+++ b/arch/arm/mach-at91/include/mach/sama5d4.h
@@ -193,6 +193,9 @@
#define cpu_is_sama5d44() (cpu_is_sama5d4() && \
(get_extension_chip_id() == ARCH_EXID_SAMA5D44))
+/* Timer */
+#define CONFIG_SYS_TIMER_COUNTER 0xfc06863c
+
/*
* No PMECC Galois table in ROM
*/