nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occurance
PATCH 1/1 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 <[email protected]>
Cc Scott Wood <[email protected]>
--- nand_spl/nand_boot.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-)
nand_spl/nand_boot.c +2 -5
@@ -33,11 +33,8 @@ static int nand_command(struct mtd_info *mtd, int block, int page, int offs, u8struct 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 );
Signature · 1 line
1.7.5.1
PATCH 1/1 nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occurance
Quoted 11 lines · Stefan Roese
Remove the last
CONFIG_SYS_NAND_READ_DELAYoccurance fromnand_boot.c. I missed this one in patcha9c847cb[nand_spl:nand_boot.c: RemoveCONFIG_SYS_NAND_READ_DELAY].This fixes a compile breakage on
kilauea_nandfor example.Signed-off-by Stefan Roese <[email protected]>Cc Scott Wood <[email protected]>--- nand_spl/nand_boot.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-)
Applied to u-boot-nand-flash
-Scott