]> git.sur5r.net Git - u-boot/blobdiff - include/configs/tx25.h
sunxi: Fix reset hang on sun5i
[u-boot] / include / configs / tx25.h
index b11f54e653c1dd534f97488ead625b94322efc53..5ac6e6441c2928c878d3fbe8fcd8fc6fef17ecbf 100644 (file)
@@ -15,7 +15,9 @@
  */
 #define CONFIG_MX25
 #define CONFIG_MX25_CLK32              32000   /* OSC32K frequency */
-#define CONFIG_SYS_HZ                  1000
+#define CONFIG_SYS_TIMER_RATE          CONFIG_MX25_CLK32
+#define CONFIG_SYS_TIMER_COUNTER       \
+       (&((struct gpt_regs *)IMX_GPT1_BASE)->counter)
 
 #define        CONFIG_SYS_MONITOR_LEN          (256 << 10)     /* 256 kB for U-Boot */