summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-10-02 14:53:27 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-10-02 14:53:27 +0200
commitf04c53762962280365005c9db12ab561a18f2692 (patch)
tree6cd2fa04929473afda1cceaa297cd340792bd326 /drivers/mtd
parent5c8d5b6fc15fc2c52d74c266d9fe6eb5f75cbcb4 (diff)
parentce7a7f5e6bda35d7d0972be07b6983552d1a2cb2 (diff)
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/mxs_nand.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c
index 378f8c513a..036c113ad3 100644
--- a/drivers/mtd/nand/mxs_nand.c
+++ b/drivers/mtd/nand/mxs_nand.c
@@ -155,6 +155,9 @@ static inline uint32_t mxs_nand_get_ecc_strength(uint32_t page_data_size,
if (page_oob_size == 218)
return 16;
+
+ if (page_oob_size == 224)
+ return 16;
}
return 0;