diff options
author | Stefan Roese <sr@denx.de> | 2007-07-11 12:16:04 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-07-11 12:16:04 +0200 |
commit | 53629f439cc9daba166812749d2cf3102aca7aac (patch) | |
tree | f82264c99a124f2cbfeca96820290c46c88e0ad9 /include/status_led.h | |
parent | 334043f601a90ac53e5ecc846fbb73a1ef38cb1f (diff) | |
parent | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 (diff) |
Merge with git://www.denx.de/git/u-boot.git
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 71a202fe36..a646814255 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 |