projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.denx.de/u-boot-arm
[platform/kernel/u-boot.git]
/
drivers
/
mtd
/
nand
/
bfin_nand.c
diff --git
a/drivers/mtd/nand/bfin_nand.c
b/drivers/mtd/nand/bfin_nand.c
index
c7ddbb2
..
7e755e8
100644
(file)
--- a/
drivers/mtd/nand/bfin_nand.c
+++ b/
drivers/mtd/nand/bfin_nand.c
@@
-374,9
+374,11
@@
int board_nand_init(struct nand_chip *chip)
if (!NAND_IS_512()) {
chip->ecc.bytes = 3;
chip->ecc.size = 256;
+ chip->ecc.strength = 1;
} else {
chip->ecc.bytes = 6;
chip->ecc.size = 512;
+ chip->ecc.strength = 2;
}
chip->ecc.mode = NAND_ECC_HW;
chip->ecc.calculate = bfin_nfc_calculate_ecc;