summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/denali_spl.c
diff options
context:
space:
mode:
authorScott Wood <oss@buserror.net>2016-05-30 13:57:58 -0500
committerScott Wood <oss@buserror.net>2016-06-03 20:27:48 -0500
commitceee07b65875bb01bef55cba06940ef7afc1afba (patch)
tree114c79852874d1970e91ff76f80835ce25038baa /drivers/mtd/nand/denali_spl.c
parent81c772521ff26054a3fe75efa87d8daeae83e9b4 (diff)
downloadblackbird-obmc-uboot-ceee07b65875bb01bef55cba06940ef7afc1afba.tar.gz
blackbird-obmc-uboot-ceee07b65875bb01bef55cba06940ef7afc1afba.zip
mtd: nand: Sync with Linux v4.6
Updates the NAND code to match Linux v4.6. The previous sync was from Linux v4.1 in commit d3963721d93fafa. Note that none of the individual NAND drivers tracked Linux closely enough to be synced themselves, other than manually applying a few cross-tree changes. Signed-off-by: Scott Wood <oss@buserror.net> Tested-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/mtd/nand/denali_spl.c')
-rw-r--r--drivers/mtd/nand/denali_spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali_spl.c b/drivers/mtd/nand/denali_spl.c
index 1587413540..c693032530 100644
--- a/drivers/mtd/nand/denali_spl.c
+++ b/drivers/mtd/nand/denali_spl.c
@@ -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)
OpenPOWER on IntegriCloud