diff options
author | Peter Pearse <peter.pearse@arm.com> | 2007-09-04 16:18:38 +0100 |
---|---|---|
committer | Peter Pearse <peter.pearse@arm.com> | 2007-09-04 16:18:38 +0100 |
commit | 9f5c3d3720e777a572dcdc8af2008b44c7243885 (patch) | |
tree | caddb48ed91cab37e34baab6eac69dd8323861cf /cpu/arm920t/start.S | |
parent | 7462fe0d5a9d40cde083fb1a3cd73911996b5ecb (diff) |
Add coloured led interface for ARM boards.
Use it in cpu/arm920t/start.S to indicate U-Boot code has been entered.
Diffstat (limited to 'cpu/arm920t/start.S')
-rwxr-xr-x[-rw-r--r--] | cpu/arm920t/start.S | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/cpu/arm920t/start.S b/cpu/arm920t/start.S index b9c364bc672..1bc6099b4ef 100644..100755 --- a/cpu/arm920t/start.S +++ b/cpu/arm920t/start.S @@ -27,9 +27,7 @@ #include <config.h> #include <version.h> -#if defined(CONFIG_AT91RM9200DK) || defined(CONFIG_AT91RM9200EK) || defined(CONFIG_AT91RM9200DF) -#include <led.h> -#endif +#include <asm/led.h> /* ************************************************************************* @@ -117,13 +115,13 @@ reset: bic r0,r0,#0x1f orr r0,r0,#0xd3 msr cpsr,r0 - -#if CONFIG_AT91RM9200 -#if defined(CONFIG_AT91RM9200DK) || defined(CONFIG_AT91RM9200EK) || defined(CONFIG_AT91RM9200DF) - bl LED_init + /* + * if board has a red led use it to show U-Boot is running + */ + bl coloured_LED_init bl red_LED_on -#endif +#ifdef CONFIG_AT91RM9200 #ifdef CONFIG_BOOTBINFUNC /* code based on entry.S from ATMEL */ #define AT91C_BASE_CKGR 0xFFFFFC20 |