summaryrefslogtreecommitdiffstats
path: root/include/status_led.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@pollux.denx.de>2007-06-22 19:11:54 +0200
committerHeiko Schocher <hs@pollux.denx.de>2007-06-22 19:11:54 +0200
commit566a494f592ae3b3c0785d90d4e1ba45574880c4 (patch)
tree933dceeaf04c7caa937774327f0b0ede81f9babc /include/status_led.h
parent9912121f7ed804ea58fd62f3f230b5dcfc357d88 (diff)
downloadblackbird-obmc-uboot-566a494f592ae3b3c0785d90d4e1ba45574880c4.tar.gz
blackbird-obmc-uboot-566a494f592ae3b3c0785d90d4e1ba45574880c4.zip
[PCS440EP] upgrade the PCS440EP board:
- Show on the Status LEDs, some States of the board. - Get the MAC addresses from the EEProm - use PREBOOT - use the CF on the board. - check the U-Boot image in the Flash with a SHA1 checksum. - use dynamic TLB entries generation for the SDRAM Signed-off-by: Heiko Schocher <hs@denx.de>
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 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
OpenPOWER on IntegriCloud