mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 11:13:07 +00:00
[PATCH] nand: Fix patch merge problem
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
d2c83f5493
commit
58e3b14c18
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue