[U-Boot] [PATCH] nand_spl: Fix compile problem with board_nand_init() prototype

This patch removes the now obsolete and additionally wrongly defined board_nand_init() prototype from nand_spl/nand_boot.c.
Signed-off-by: Stefan Roese sr@denx.de --- nand_spl/nand_boot.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/nand_spl/nand_boot.c b/nand_spl/nand_boot.c index 87c50e1..c7eadad 100644 --- a/nand_spl/nand_boot.c +++ b/nand_spl/nand_boot.c @@ -27,8 +27,6 @@
static int nand_ecc_pos[] = CONFIG_SYS_NAND_ECCPOS;
-extern void board_nand_init(struct nand_chip *nand); - #if (CONFIG_SYS_NAND_PAGE_SIZE <= 512) /* * NAND command for small page NAND devices (512)

On Mon, Jan 26, 2009 at 10:05:20AM +0100, Stefan Roese wrote:
This patch removes the now obsolete and additionally wrongly defined board_nand_init() prototype from nand_spl/nand_boot.c.
Signed-off-by: Stefan Roese sr@denx.de
Applied to u-boot-nand-flash
-Scott
participants (2)
-
Scott Wood
-
Stefan Roese