]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/denali_spl.c
powerpc: MPC8541CDS: Remove macro CONFIG_MPC8541CDS
[u-boot] / drivers / mtd / nand / denali_spl.c
index 15874135408334fd60ff9c74e3504f9af4c77a4a..c6930325307cdab94a78f8453f0fc54f7e2a64d3 100644 (file)
@@ -41,7 +41,7 @@ static int wait_for_irq(uint32_t irq_mask)
 
                if (intr_status & INTR_STATUS__ECC_UNCOR_ERR) {
                        debug("Uncorrected ECC detected\n");
-                       return -EIO;
+                       return -EBADMSG;
                }
 
                if (intr_status & irq_mask)