summaryrefslogtreecommitdiffstats
path: root/board/prodrive
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2006-12-24 01:30:04 +0100
committerWolfgang Denk <wd@denx.de>2006-12-24 01:30:04 +0100
commitbc5556d62b6ebe6cb4302aebec9e7bbf1affd2ea (patch)
treebcb2fa6abc6e2b2ed36a06cd77bb7f869abbe92f /board/prodrive
parent1b3c360c235dc684ec06c2d5f183f0a282ce45e2 (diff)
parentfa23044564091f05d9695beb7b5b9a931e7f41a4 (diff)
downloadbootable_bootloader_goldelico_gta04-bc5556d62b6ebe6cb4302aebec9e7bbf1affd2ea.tar.gz
bootable_bootloader_goldelico_gta04-bc5556d62b6ebe6cb4302aebec9e7bbf1affd2ea.tar.bz2
bootable_bootloader_goldelico_gta04-bc5556d62b6ebe6cb4302aebec9e7bbf1affd2ea.zip
Merge with /home/hs/TQ/u-boot-dev
Diffstat (limited to 'board/prodrive')
-rw-r--r--board/prodrive/pdnb3/nand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/prodrive/pdnb3/nand.c b/board/prodrive/pdnb3/nand.c
index 1931d64de..92f9c0190 100644
--- a/board/prodrive/pdnb3/nand.c
+++ b/board/prodrive/pdnb3/nand.c
@@ -148,7 +148,7 @@ static int pdnb3_nand_dev_ready(struct mtd_info *mtd)
return 1;
}
-void board_nand_init(struct nand_chip *nand)
+int board_nand_init(struct nand_chip *nand)
{
pdnb3_ndfc = (struct pdnb3_ndfc_regs *)CFG_NAND_BASE;
@@ -167,5 +167,6 @@ void board_nand_init(struct nand_chip *nand)
nand->read_buf = pdnb3_nand_read_buf;
nand->verify_buf = pdnb3_nand_verify_buf;
nand->dev_ready = pdnb3_nand_dev_ready;
+ return 0;
}
#endif