summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-08 21:23:37 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-10-23 07:28:50 +0800
commite6500f86a6ddac4c4a2cfcbd517283665563ef70 (patch)
tree869ac9f26fd1722ff6ac3b4cb5bcb507c5353591 /include/configs
parentfea7f3aa3e5644b702be15d9076fe7b4b73db668 (diff)
downloadu-boot-imx-e6500f86a6ddac4c4a2cfcbd517283665563ef70.zip
u-boot-imx-e6500f86a6ddac4c4a2cfcbd517283665563ef70.tar.gz
u-boot-imx-e6500f86a6ddac4c4a2cfcbd517283665563ef70.tar.bz2
nios2: Split timer code into timer.c
Move the timer code from interrupts.c into timer.c . Eliminate the installation of timer interrupt handler, which is no longer used. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/nios2-generic.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h
index 6e6cd8c..3d29a1f 100644
--- a/include/configs/nios2-generic.h
+++ b/include/configs/nios2-generic.h
@@ -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