]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/logodl/logodl.c
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / logodl / logodl.c
index 14fd28f56fc37ab4d4ad604f56fe7456c365d0ff..c57210a95f38b00474d8aaa23914c3ffcd0788ab 100755 (executable)
@@ -77,17 +77,17 @@ void logodl_set_led(int led, int state)
 
        case 0:
                if (state==1) {
-                       CFG_LED_A_CR = CFG_LED_A_BIT;
+                       CONFIG_SYS_LED_A_CR = CONFIG_SYS_LED_A_BIT;
                } else if (state==0) {
-                       CFG_LED_A_SR = CFG_LED_A_BIT;
+                       CONFIG_SYS_LED_A_SR = CONFIG_SYS_LED_A_BIT;
                }
                break;
 
        case 1:
                if (state==1) {
-                       CFG_LED_B_CR = CFG_LED_B_BIT;
+                       CONFIG_SYS_LED_B_CR = CONFIG_SYS_LED_B_BIT;
                } else if (state==0) {
-                       CFG_LED_B_SR = CFG_LED_B_BIT;
+                       CONFIG_SYS_LED_B_SR = CONFIG_SYS_LED_B_BIT;
                }
                break;
        }
@@ -107,6 +107,7 @@ void logodl_set_led(int led, int state)
 
 void show_boot_progress (int status)
 {
+       if (status < -32) status = -1;  /* let things compatible */
        /*
          switch(status) {
          case  1: logodl_set_led(0,1); break;