]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/configs/zynq-common.h
zynq: Use system timer implementation instead of our
[karo-tx-uboot.git] / include / configs / zynq-common.h
index 926b381580654d8c6144609da3174d3dff75695b..be77e509e55897089bf94ae3381c0e6863ded1b4 100644 (file)
 # define CONFIG_SYS_PL310_BASE         0xf8f02000
 #endif
 
+#define ZYNQ_SCUTIMER_BASEADDR         0xF8F00600
+#define CONFIG_SYS_TIMERBASE           ZYNQ_SCUTIMER_BASEADDR
+#define CONFIG_SYS_TIMER_COUNTS_DOWN
+#define CONFIG_SYS_TIMER_COUNTER       (CONFIG_SYS_TIMERBASE + 0x4)
+
 /* Serial drivers */
 #define CONFIG_BAUDRATE                115200
 /* The following table includes the supported baudrates */