提交 8d94e684 编写于 作者: T Tom Rini

Merge branch 'master' of git://git.denx.de/u-boot-nand-flash

...@@ -1242,12 +1242,10 @@ int board_nand_init(struct nand_chip *this) ...@@ -1242,12 +1242,10 @@ int board_nand_init(struct nand_chip *this)
this->ecc.mode = NAND_ECC_HW; this->ecc.mode = NAND_ECC_HW;
} }
if (this->ecc.mode == NAND_ECC_HW) { if (is_mxc_nfc_1())
if (is_mxc_nfc_1()) this->ecc.strength = 1;
this->ecc.strength = 1; else
else this->ecc.strength = 4;
this->ecc.strength = 4;
}
host->pagesize_2k = 0; host->pagesize_2k = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册