mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 15:40:29 +09:00
nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occurance
Remove the last CONFIG_SYS_NAND_READ_DELAY occurance from nand_boot.c.
I missed this one in patch a9c847cb
[nand_spl: nand_boot.c: Remove
CONFIG_SYS_NAND_READ_DELAY].
This fixes a compile breakage on kilauea_nand for example.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
parent
535abb96fb
commit
e29816f330
@ -33,11 +33,8 @@ static int nand_command(struct mtd_info *mtd, int block, int page, int offs, u8
|
|||||||
struct nand_chip *this = mtd->priv;
|
struct nand_chip *this = mtd->priv;
|
||||||
int page_addr = page + block * CONFIG_SYS_NAND_PAGE_COUNT;
|
int page_addr = page + block * CONFIG_SYS_NAND_PAGE_COUNT;
|
||||||
|
|
||||||
if (this->dev_ready)
|
while (!this->dev_ready(mtd))
|
||||||
while (!this->dev_ready(mtd))
|
;
|
||||||
;
|
|
||||||
else
|
|
||||||
CONFIG_SYS_NAND_READ_DELAY;
|
|
||||||
|
|
||||||
/* Begin command latch cycle */
|
/* Begin command latch cycle */
|
||||||
this->cmd_ctrl(mtd, cmd, NAND_CTRL_CLE | NAND_CTRL_CHANGE);
|
this->cmd_ctrl(mtd, cmd, NAND_CTRL_CLE | NAND_CTRL_CHANGE);
|
||||||
|
Loading…
Reference in New Issue
Block a user