diff options
author | Wolfgang Denk <wd@denx.de> | 2007-05-28 01:11:11 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-05-28 01:11:11 +0200 |
commit | 19bf91f9628f80a55d4f171df71041574882b3d6 (patch) | |
tree | 14fd9ebacffd43564eaf014997baacea39abde2c /include/status_led.h | |
parent | 7d075ee1d8cfcab9dd5b356816f17d013498cc62 (diff) | |
parent | 7049288fb1f16f1b317140226cdebd07bd416395 (diff) | |
download | u-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.h | 12 |
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 |