]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-mvebu/include/mach/config.h
arm: mvebu/kirkwood: Use common timer functions
[u-boot] / arch / arm / mach-mvebu / include / mach / config.h
index 1d49cab7fd89e431845357fbfc05d0c25fb5cebb..3281d90cda768326f3932c9897ece7dbaa1a792b 100644 (file)
 #define CONFIG_SYS_I2C_SPEED           100000
 #endif
 
+/* Use common timer */
+#define CONFIG_SYS_TIMER_COUNTS_DOWN
+#define CONFIG_SYS_TIMER_COUNTER       (MVEBU_TIMER_BASE + 0x14)
+#define CONFIG_SYS_TIMER_RATE          25000000
+
 /* Common SPL configuration */
 #ifndef CONFIG_SPL_LDSCRIPT
 #define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-mvebu/u-boot-spl.lds"