]> git.sur5r.net Git - u-boot/blobdiff - board/hermes/hermes.c
FDT: Add compatible string for DWMMC
[u-boot] / board / hermes / hermes.c
index 1b40ae8708520ec6b268465bbbd87ff381047b22..a3bf4bbe4f50da060d0b2f38a77f0d6632543c6c 100644 (file)
@@ -27,7 +27,7 @@
 
 #ifdef CONFIG_SHOW_BOOT_PROGRESS
 # include <status_led.h>
-# define SHOW_BOOT_PROGRESS(arg)       show_boot_progress(arg)
+# define SHOW_BOOT_PROGRESS(arg)       bootstage_mark(arg)
 #else
 # define SHOW_BOOT_PROGRESS(arg)
 #endif
@@ -595,7 +595,9 @@ void show_boot_progress (int status)
 {
        volatile immap_t *immr = (immap_t *) CONFIG_SYS_IMMR;
 
-       if (status < -32) status = -1;  /* let things compatible */
+       /* let things compatible */
+       if (status < -BOOTSTAGE_ID_POST_FAIL_R)
+               status = -1;
        status ^= 0x0F;
        status = (status & 0x0F) << 14;
        immr->im_cpm.cp_pbdat = (immr->im_cpm.cp_pbdat & ~PB_LED_ALL) | status;