Skip to contentSkip to conversation

nand_spl: Fix compile problem with board_nand_init() prototype

PATCH New Stefan Roese 2 participants 2 messages Jan 26, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 nand_spl/nand_boot.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
nand_spl/nand_boot.c +0 -2
index 87c50e1..c7eadad 100644
@@ -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)
Signature · 1 line
1.6.1
#1 lore raw

PATCH 1/1 nand_spl: Fix compile problem with board_nand_init() prototype

Quoted 4 lines · Stefan Roese

This patch removes the now obsolete and additionally wrongly defined board_nand_init() prototype from nand_spl/nand_boot.c.

Applied to u-boot-nand-flash

-Scott