summaryrefslogtreecommitdiff
path: root/include/status_led.h
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2006-10-13 21:09:09 +0200
committerBartlomiej Sieka <tur@semihalf.com>2006-10-13 21:09:09 +0200
commit4707fb50cc9f815996be5f2e5a8660de852b2c37 (patch)
treeb15772a39a769fa5ef3ba71e0dc96efe5e88cb09 /include/status_led.h
parentaeec782b020930732eab075af97212c3f03afcae (diff)
downloadu-boot-4707fb50cc9f815996be5f2e5a8660de852b2c37.tar.gz
Preliminary patch adding support for the MarelV38B board.
Diffstat (limited to 'include/status_led.h')
-rw-r--r--include/status_led.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/status_led.h b/include/status_led.h
index a56883b9a5..db4c60fe3f 100644
--- a/include/status_led.h
+++ b/include/status_led.h
@@ -346,6 +346,15 @@ void status_led_set (int led, int state);
#elif defined(CONFIG_NIOS2)
/* XXX empty just to avoid the error */
/************************************************************************/
+#elif defined(CONFIG_V38B)
+
+# define STATUS_LED_BIT 0x0010 /* Timer7 GPIO */
+# define STATUS_LED_PERIOD (CFG_HZ / 2)
+# define STATUS_LED_STATE STATUS_LED_BLINKING
+
+# define STATUS_LED_ACTIVE 0 /* LED on for bit == 0 */
+# define STATUS_LED_BOOT 0 /* LED 0 used for boot status */
+
#else
# error Status LED configuration missing
#endif