diff options
author | Wolfgang Denk <wd@denx.de> | 2007-10-13 18:48:23 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-10-13 18:48:23 +0200 |
commit | 2885634d648bdc27fcedb623ddf62475e7684e3b (patch) | |
tree | c3cb5f1e05e4da043731a89cd9c691c94aa757b3 /lib_arm/board.c | |
parent | e1893815b0999410d7a327589611c7b38e95299e (diff) | |
parent | e81a95a9e7cb68ab611e074cd65790015520ea99 (diff) | |
download | u-boot-imx-2885634d648bdc27fcedb623ddf62475e7684e3b.zip u-boot-imx-2885634d648bdc27fcedb623ddf62475e7684e3b.tar.gz u-boot-imx-2885634d648bdc27fcedb623ddf62475e7684e3b.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-arm
Diffstat (limited to 'lib_arm/board.c')
-rw-r--r-- | lib_arm/board.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index d28afc5..87848d9 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -112,6 +112,30 @@ void *sbrk (ptrdiff_t increment) } /************************************************************************ + * Coloured LED functionality + ************************************************************************ + * May be supplied by boards if desired + */ +void inline __coloured_LED_init (void) {} +void inline coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init"))); +void inline __red_LED_on (void) {} +void inline red_LED_on (void) __attribute__((weak, alias("__red_LED_on"))); +void inline __red_LED_off(void) {} +void inline red_LED_off(void) __attribute__((weak, alias("__red_LED_off"))); +void inline __green_LED_on(void) {} +void inline green_LED_on(void) __attribute__((weak, alias("__green_LED_on"))); +void inline __green_LED_off(void) {} +void inline green_LED_off(void)__attribute__((weak, alias("__green_LED_off"))); +void inline __yellow_LED_on(void) {} +void inline yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on"))); +void inline __yellow_LED_off(void) {} +void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off"))); + + + + + +/************************************************************************ * Init Utilities * ************************************************************************ * Some of this code should be moved into the core functions, |