diff options
author | Wolfgang Denk | 2007-07-09 23:41:45 +0200 |
---|---|---|
committer | Wolfgang Denk | 2007-07-09 23:41:45 +0200 |
commit | bf6a9ca9b2aa219612c3678444b8123e28aa8940 (patch) | |
tree | e2d6a2c2c8af12dbc6f3438d13de485473f714d5 /include/status_led.h | |
parent | e80955f07de03fef0196353e77534b2300193c1c (diff) | |
parent | a5d71e290f3673269be8eefb4ec44f53412f9461 (diff) |
Merge with /home/hs/Atronic/u-boot
Diffstat (limited to 'include/status_led.h')
-rw-r--r-- | include/status_led.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/status_led.h b/include/status_led.h index 71a202fe36e..a6468142557 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 |