]> git.sur5r.net Git - u-boot/blobdiff - include/configs/nios2-generic.h
nios2: Split timer code into timer.c
[u-boot] / include / configs / nios2-generic.h
index 6e6cd8cd623c3ba767194e9f8aaa00f975e95293..3d29a1f7af8b8e33a08de3cae572373e40afbf47 100644 (file)
@@ -40,7 +40,6 @@
  * TIMER
  */
 #define CONFIG_SYS_TIMER_RATE          CONFIG_SYS_TIMER_FREQ
-#define CONFIG_SYS_NIOS_TMRMS          10      /* FIXME: Desired period (msec)*/
 
 /*
  * STATUS LED
@@ -59,7 +58,7 @@
 
 #define STATUS_LED_BIT                 0       /* Bit-0 on GPIO */
 #define STATUS_LED_STATE               1       /* Blinking */
-#define STATUS_LED_PERIOD      (500 / CONFIG_SYS_NIOS_TMRMS) /* 500 msec */
+#define STATUS_LED_PERIOD      (CONFIG_SYS_HZ / 2)     /* 500 msec */
 
 /*
  * BOOTP options