diff options
author | Heiko Schocher <hs@pollux.denx.de> | 2007-07-14 01:07:51 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-14 01:07:51 +0200 |
commit | 5da91f6ca93f6abd6454978dc2d8b24760b7d219 (patch) | |
tree | 34eb81390734469bc9c2210f704beab5d66d85c0 /board | |
parent | 011595307731a7a67a7445d107c279d031e8ab97 (diff) | |
parent | fad63407154f46246ce80d53a9c669a44362ac67 (diff) | |
download | u-boot-imx-5da91f6ca93f6abd6454978dc2d8b24760b7d219.zip u-boot-imx-5da91f6ca93f6abd6454978dc2d8b24760b7d219.tar.gz u-boot-imx-5da91f6ca93f6abd6454978dc2d8b24760b7d219.tar.bz2 |
Merge with /home/hs/Atronic/u-boot-dev-new
Diffstat (limited to 'board')
-rw-r--r-- | board/pcs440ep/pcs440ep.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/board/pcs440ep/pcs440ep.c b/board/pcs440ep/pcs440ep.c index 0e34a76..696423e 100644 --- a/board/pcs440ep/pcs440ep.c +++ b/board/pcs440ep/pcs440ep.c @@ -238,7 +238,13 @@ void load_sernum_ethaddr (void) } /* Env doesnt exist -> hang */ status_led_blink (); - hang (); + /* here we do this "handy" because we have no interrupts + at this time */ + puts ("### EEPROM ERROR ### Please RESET the board ###\n"); + for (;;) { + __led_toggle (12); + udelay (100000); + } return; } @@ -416,7 +422,13 @@ static void pcs440ep_checksha1 (void) if ((cs_test = getenv ("cs_test")) == NULL) { /* Env doesnt exist -> hang */ status_led_blink (); - hang (); + /* here we do this "handy" because we have no interrupts + at this time */ + puts ("### SHA1 ERROR ### Please RESET the board ###\n"); + for (;;) { + __led_toggle (2); + udelay (100000); + } } if (strncmp (cs_test, "off", 3) == 0) { @@ -517,7 +529,7 @@ void spd_ddr_init_hang (void) status_led_set (1, STATUS_LED_ON); /* we cannot use hang() because we are still running from Flash, and so the status_led driver is not initialized */ - puts ("### ERROR ### Please RESET the board ###\n"); + puts ("### SDRAM ERROR ### Please RESET the board ###\n"); for (;;) { __led_toggle (4); udelay (100000); |