mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
This commit is contained in:
commit
8d94e6848f
1 changed files with 4 additions and 6 deletions
|
@ -1242,12 +1242,10 @@ int board_nand_init(struct nand_chip *this)
|
|||
this->ecc.mode = NAND_ECC_HW;
|
||||
}
|
||||
|
||||
if (this->ecc.mode == NAND_ECC_HW) {
|
||||
if (is_mxc_nfc_1())
|
||||
this->ecc.strength = 1;
|
||||
else
|
||||
this->ecc.strength = 4;
|
||||
}
|
||||
if (is_mxc_nfc_1())
|
||||
this->ecc.strength = 1;
|
||||
else
|
||||
this->ecc.strength = 4;
|
||||
|
||||
host->pagesize_2k = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue