summaryrefslogtreecommitdiff
path: root/include/status_led.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-05-28 01:11:11 +0200
committerWolfgang Denk <wd@denx.de>2007-05-28 01:11:11 +0200
commit19bf91f9628f80a55d4f171df71041574882b3d6 (patch)
tree14fd9ebacffd43564eaf014997baacea39abde2c /include/status_led.h
parent7d075ee1d8cfcab9dd5b356816f17d013498cc62 (diff)
parent7049288fb1f16f1b317140226cdebd07bd416395 (diff)
downloadu-boot-imx-19bf91f9628f80a55d4f171df71041574882b3d6.zip
u-boot-imx-19bf91f9628f80a55d4f171df71041574882b3d6.tar.gz
u-boot-imx-19bf91f9628f80a55d4f171df71041574882b3d6.tar.bz2
Merge with /home/tur/git/u-boot#motionpro
Diffstat (limited to 'include/status_led.h')
-rw-r--r--include/status_led.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/status_led.h b/include/status_led.h
index db4c60f..71a202f 100644
--- a/include/status_led.h
+++ b/include/status_led.h
@@ -355,6 +355,18 @@ void status_led_set (int led, int state);
# define STATUS_LED_ACTIVE 0 /* LED on for bit == 0 */
# define STATUS_LED_BOOT 0 /* LED 0 used for boot status */
+#elif defined(CONFIG_MOTIONPRO)
+
+#define STATUS_LED_BIT ((vu_long *) MPC5XXX_GPT6_ENABLE)
+#define STATUS_LED_PERIOD (CFG_HZ / 10)
+#define STATUS_LED_STATE STATUS_LED_BLINKING
+
+#define STATUS_LED_BIT1 ((vu_long *) MPC5XXX_GPT7_ENABLE)
+#define STATUS_LED_PERIOD1 (CFG_HZ / 10)
+#define STATUS_LED_STATE1 STATUS_LED_OFF
+
+#define STATUS_LED_BOOT 0 /* LED 0 used for boot status */
+
#else
# error Status LED configuration missing
#endif