summaryrefslogtreecommitdiff
path: root/include/configs/rpi-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/rpi-common.h')
-rw-r--r--include/configs/rpi-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h
index 5904a3246dc..645c361e264 100644
--- a/include/configs/rpi-common.h
+++ b/include/configs/rpi-common.h
@@ -13,9 +13,12 @@
/* Architecture, CPU, etc.*/
#define CONFIG_ARCH_CPU_INIT
+/* Use SoC timer for AArch32, but architected timer for AArch64 */
+#ifndef CONFIG_ARM64
#define CONFIG_SYS_TIMER_RATE 1000000
#define CONFIG_SYS_TIMER_COUNTER \
(&((struct bcm2835_timer_regs *)BCM2835_TIMER_PHYSADDR)->clo)
+#endif
/*
* 2835 is a SKU in a series for which the 2708 is the first or primary SoC,