[U-Boot] [PATCH] nand_spl: Fix compile problem with board_nand_init() prototype
Stefan Roese
sr at denx.de
Mon Jan 26 10:05:20 CET 2009
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 at 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)
--
1.6.1
More information about the U-Boot
mailing list