nand, atmel: remove udelay in spl_nand_erase_one()

remove unneeded udelay() in this function, as we use
the dev_ready pin.

Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
Heiko Schocher 2015-06-29 09:10:47 +02:00 committed by Tom Rini
parent 80402f34f8
commit c10ac540ea
1 changed files with 0 additions and 2 deletions

View File

@ -1378,9 +1378,7 @@ int spl_nand_erase_one(int block, int page)
hwctrl(&mtd, (page_addr >> 16) & 0x0f,
NAND_CTRL_ALE | NAND_CTRL_CHANGE);
#endif
hwctrl(&mtd, NAND_CMD_ERASE2, NAND_CTRL_CLE | NAND_CTRL_CHANGE);
udelay(2000);
while (!this->dev_ready(&mtd))
;