]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/configs/rpi-common.h
ARM: add Raspberry Pi 3 64-bit config
[karo-tx-uboot.git] / include / configs / rpi-common.h
index 5904a3246dcf0fa5ba0c67a8f696d29c344cffcd..645c361e26409aab8f6934a9003a9d047a562e91 100644 (file)
 /* 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,