summaryrefslogtreecommitdiff
path: root/board/hermes/hermes.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-06 00:55:51 +0200
committerWolfgang Denk <wd@denx.de>2007-08-06 00:55:51 +0200
commit46919751eac7d5c210e6e71ad4bf2bae4805902e (patch)
tree5a6097aef0f398adb4e60047efb28c37b79bec50 /board/hermes/hermes.c
parent8092fef4c29b395958bb649647da7e3775731517 (diff)
parentc7e717ebc2b044d7a71062552c9dc0f54ea9b779 (diff)
downloadu-boot-imx-46919751eac7d5c210e6e71ad4bf2bae4805902e.zip
u-boot-imx-46919751eac7d5c210e6e71ad4bf2bae4805902e.tar.gz
u-boot-imx-46919751eac7d5c210e6e71ad4bf2bae4805902e.tar.bz2
Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xx
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 a523db1..8fd081f 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;