]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
nand_spl: Fix compile problem with board_nand_init() prototype
authorStefan Roese <sr@denx.de>
Mon, 26 Jan 2009 09:05:20 +0000 (10:05 +0100)
committerScott Wood <scottwood@freescale.com>
Mon, 26 Jan 2009 19:39:17 +0000 (13:39 -0600)
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>
Signed-off-by: Scott Wood <scottwood@freescale.com>
nand_spl/nand_boot.c

index 87c50e123c5d580a05e150f3aa0e32a15080e34e..c7eadad1b9aa9335c5dcc4e8d7ba1db4881daa7f 100644 (file)
@@ -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)