mirror of
https://xff.cz/git/u-boot/
synced 2025-10-01 07:21:23 +02:00
ARM Add blue colour LED to status_led.
There is exiting support for red,yellow,green but no blue. The main LED on the zoom2 is a blue LED. Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
This commit is contained in:
@@ -397,6 +397,8 @@ extern void green_LED_on(void);
|
|||||||
extern void green_LED_off(void);
|
extern void green_LED_off(void);
|
||||||
extern void yellow_LED_on(void);
|
extern void yellow_LED_on(void);
|
||||||
extern void yellow_LED_off(void);
|
extern void yellow_LED_off(void);
|
||||||
|
extern void blue_LED_on(void);
|
||||||
|
extern void blue_LED_off(void);
|
||||||
#else
|
#else
|
||||||
.extern LED_init
|
.extern LED_init
|
||||||
.extern red_LED_on
|
.extern red_LED_on
|
||||||
@@ -405,6 +407,8 @@ extern void yellow_LED_off(void);
|
|||||||
.extern yellow_LED_off
|
.extern yellow_LED_off
|
||||||
.extern green_LED_on
|
.extern green_LED_on
|
||||||
.extern green_LED_off
|
.extern green_LED_off
|
||||||
|
.extern blue_LED_on
|
||||||
|
.extern blue_LED_off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CONFIG_STATUS_LED */
|
#endif /* CONFIG_STATUS_LED */
|
||||||
|
@@ -136,6 +136,10 @@ void inline __yellow_LED_on(void) {}
|
|||||||
void inline yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on")));
|
void inline yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on")));
|
||||||
void inline __yellow_LED_off(void) {}
|
void inline __yellow_LED_off(void) {}
|
||||||
void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off")));
|
void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off")));
|
||||||
|
void inline __blue_LED_on(void) {}
|
||||||
|
void inline blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on")));
|
||||||
|
void inline __blue_LED_off(void) {}
|
||||||
|
void inline blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off")));
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
* Init Utilities *
|
* Init Utilities *
|
||||||
|
Reference in New Issue
Block a user