summaryrefslogtreecommitdiffstats
path: root/include/status_led.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-10-18 22:27:57 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-10-18 22:27:57 +0200
commit82165a334bae49abaa4def00c71e9a08d9be83a1 (patch)
treeec09708d9361cc67b05553e41408bdda73ba52dc /include/status_led.h
parentd7762337cbc8293b259218b4a804dc626e257a4a (diff)
parent4707fb50cc9f815996be5f2e5a8660de852b2c37 (diff)
downloadbarebox-82165a334bae49abaa4def00c71e9a08d9be83a1.tar.gz
barebox-82165a334bae49abaa4def00c71e9a08d9be83a1.tar.xz
Merge with /home/tur/proj/051_uboot_linux_v38b/u-boot
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