From f16c1da9577f06c5fc08651a4065537407de4635 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Sat, 6 Jan 2007 15:56:13 +0100 Subject: [PATCH] Update ALPR board files This update brings the ALPR board support to the newest version. It also fixes a problem with the NAND driver. Signed-off-by: Stefan Roese --- board/prodrive/alpr/nand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'board/prodrive/alpr/nand.c') diff --git a/board/prodrive/alpr/nand.c b/board/prodrive/alpr/nand.c index e63c921..d66b088 100644 --- a/board/prodrive/alpr/nand.c +++ b/board/prodrive/alpr/nand.c @@ -154,7 +154,7 @@ static int alpr_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) { alpr_ndfc = (struct alpr_ndfc_regs *)CFG_NAND_BASE; @@ -169,5 +169,7 @@ void board_nand_init(struct nand_chip *nand) nand->read_buf = alpr_nand_read_buf; nand->verify_buf = alpr_nand_verify_buf; nand->dev_ready = alpr_nand_dev_ready; + + return 0; } #endif -- cgit v1.1