summaryrefslogtreecommitdiff
path: root/include/status_led.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-07-11 12:16:04 +0200
committerStefan Roese <sr@denx.de>2007-07-11 12:16:04 +0200
commit53629f439cc9daba166812749d2cf3102aca7aac (patch)
treef82264c99a124f2cbfeca96820290c46c88e0ad9 /include/status_led.h
parent334043f601a90ac53e5ecc846fbb73a1ef38cb1f (diff)
parent4ef218f6fdf8d747f4589da5252b004e7d2c2876 (diff)
downloadu-boot-imx-53629f439cc9daba166812749d2cf3102aca7aac.zip
u-boot-imx-53629f439cc9daba166812749d2cf3102aca7aac.tar.gz
u-boot-imx-53629f439cc9daba166812749d2cf3102aca7aac.tar.bz2
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'include/status_led.h')
-rw-r--r--include/status_led.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/status_led.h b/include/status_led.h
index 71a202f..a646814 100644
--- a/include/status_led.h
+++ b/include/status_led.h
@@ -367,6 +367,13 @@ void status_led_set (int led, int state);
#define STATUS_LED_BOOT 0 /* LED 0 used for boot status */
+#elif defined(CONFIG_BOARD_SPECIFIC_LED)
+/* led_id_t is unsigned long mask */
+typedef unsigned long led_id_t;
+
+extern void __led_toggle (led_id_t mask);
+extern void __led_init (led_id_t mask, int state);
+extern void __led_set (led_id_t mask, int state);
#else
# error Status LED configuration missing
#endif