summaryrefslogtreecommitdiff
path: root/board/hermes/hermes.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-07-11 12:16:04 +0200
committerStefan Roese <sr@denx.de>2007-07-11 12:16:04 +0200
commit53629f439cc9daba166812749d2cf3102aca7aac (patch)
treef82264c99a124f2cbfeca96820290c46c88e0ad9 /board/hermes/hermes.c
parent334043f601a90ac53e5ecc846fbb73a1ef38cb1f (diff)
parent4ef218f6fdf8d747f4589da5252b004e7d2c2876 (diff)
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'board/hermes/hermes.c')
-rw-r--r--board/hermes/hermes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/hermes/hermes.c b/board/hermes/hermes.c
index a523db1a48..8fd081fef3 100644
--- a/board/hermes/hermes.c
+++ b/board/hermes/hermes.c
@@ -597,6 +597,7 @@ void show_boot_progress (int status)
{
volatile immap_t *immr = (immap_t *) CFG_IMMR;
+ if (status < -32) status = -1; /* let things compatible */
status ^= 0x0F;
status = (status & 0x0F) << 14;
immr->im_cpm.cp_pbdat = (immr->im_cpm.cp_pbdat & ~PB_LED_ALL) | status;