diff options
author | Michal Simek <monstr@monstr.eu> | 2007-07-13 21:39:13 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2007-07-13 21:39:13 +0200 |
commit | bc2962482b707e44e0b43d20bd4dcf2a40230abb (patch) | |
tree | 751c5e07c5ff0aa7910da0fe33b0a0996bda518c /include/status_led.h | |
parent | 093172f08d6afb3f34d8a2f26ee0ee874261cf27 (diff) | |
parent | 239f05ee4dd4cfe0b50f251b533dcebe9e67c360 (diff) | |
download | u-boot-imx-bc2962482b707e44e0b43d20bd4dcf2a40230abb.zip u-boot-imx-bc2962482b707e44e0b43d20bd4dcf2a40230abb.tar.gz u-boot-imx-bc2962482b707e44e0b43d20bd4dcf2a40230abb.tar.bz2 |
Merge git://www.denx.de/git/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 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 |