提交 e7f3e9ff 编写于 作者: S Stefan Roese

[PATCH] nand: Fix patch merge problem

Signed-off-by: NStefan Roese <sr@denx.de>
上级 d2c83f54
......@@ -838,9 +838,9 @@ static int nand_wait(struct mtd_info *mtd, struct nand_chip *this, int state)
unsigned long timeo;
if (state == FL_ERASING)
timeo += (HZ * 400) / 1000;
timeo = (CFG_HZ * 400) / 1000;
else
timeo += (HZ * 20) / 1000;
timeo = (CFG_HZ * 20) / 1000;
if ((state == FL_ERASING) && (this->options & NAND_IS_AND))
this->cmdfunc(mtd, NAND_CMD_STATUS_MULTI, -1, -1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册