From: Scott Wood Date: Fri, 13 May 2011 11:16:02 -0500 Subject: [U-Boot] [PATCH] nand_spl: nand_boot.c: Remove CONFIG_SYS_NAND_READ_DELAY In-Reply-To: <1304502254-32719-1-git-send-email-sr@denx.de> References: <1304502254-32719-1-git-send-email-sr@denx.de> Message-ID: <20110513161602.GA28916@schlenkerla.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, May 04, 2011 at 11:44:14AM +0200, Stefan Roese wrote: > There are multiple reasons why this define should be removed: > > First it saves some space and therefore fixes a problem we have on > the canyonlands_nand and glacier_nand targets right now. > > Second, the define was hackish and would most likely not work on all > board using nand_boot.c. Boards not providing a real dev_ready() > function should implement a board specific function instead. > > I checked and it seems, that all boards using nand_boot.c right now > already implement a board specific dev_ready() function. So this > patch should not break any boards and will result in smaller > NAND_SPL images. > > Signed-off-by: Stefan Roese > Cc: Scott Wood > Cc: Stefano Babic > Cc: Sughosh Ganu > Cc: Sudhakar Rajashekhara > --- > nand_spl/nand_boot.c | 24 ++++++------------------ > 1 files changed, 6 insertions(+), 18 deletions(-) Applied to u-boot-nand-flash -Scott