* [U-Boot] [PATCH] nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occurance
@ 2011-05-16 11:04 Stefan Roese
2011-05-16 19:10 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Roese @ 2011-05-16 11:04 UTC (permalink / raw)
To: u-boot
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>
---
nand_spl/nand_boot.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/nand_spl/nand_boot.c b/nand_spl/nand_boot.c
index 00df2a0..9545a9a 100644
--- a/nand_spl/nand_boot.c
+++ b/nand_spl/nand_boot.c
@@ -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;
int page_addr = page + block * CONFIG_SYS_NAND_PAGE_COUNT;
- if (this->dev_ready)
- while (!this->dev_ready(mtd))
- ;
- else
- CONFIG_SYS_NAND_READ_DELAY;
+ while (!this->dev_ready(mtd))
+ ;
/* Begin command latch cycle */
this->cmd_ctrl(mtd, cmd, NAND_CTRL_CLE | NAND_CTRL_CHANGE);
--
1.7.5.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occurance
2011-05-16 11:04 [U-Boot] [PATCH] nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occurance Stefan Roese
@ 2011-05-16 19:10 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2011-05-16 19:10 UTC (permalink / raw)
To: u-boot
On Mon, May 16, 2011 at 01:04:00PM +0200, Stefan Roese wrote:
> 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>
> ---
> nand_spl/nand_boot.c | 7 ++-----
> 1 files changed, 2 insertions(+), 5 deletions(-)
Applied to u-boot-nand-flash
-Scott
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-16 19:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-16 11:04 [U-Boot] [PATCH] nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occurance Stefan Roese
2011-05-16 19:10 ` Scott Wood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.