From: Stefan Roese Date: Tue, 28 Nov 2006 10:04:45 +0000 (+0100) Subject: [PATCH] nand: Fix patch merge problem X-Git-Tag: v1.3.0-rc1~134^2~1^2~22 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=58e3b14c18ed3288ceef8d086946dbf3df64ccf2;p=u-boot [PATCH] nand: Fix patch merge problem Signed-off-by: Stefan Roese --- diff --git a/drivers/nand/nand_base.c b/drivers/nand/nand_base.c index 2e3fcdf5ab..421550b151 100644 --- a/drivers/nand/nand_base.c +++ b/drivers/nand/nand_base.c @@ -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);