diff options
author | Wolfgang Denk <wd@denx.de> | 2006-12-24 00:30:04 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2006-12-24 00:30:04 (GMT) |
commit | bc5556d62b6ebe6cb4302aebec9e7bbf1affd2ea (patch) | |
tree | bcb2fa6abc6e2b2ed36a06cd77bb7f869abbe92f /board/prodrive | |
parent | 1b3c360c235dc684ec06c2d5f183f0a282ce45e2 (diff) | |
parent | fa23044564091f05d9695beb7b5b9a931e7f41a4 (diff) | |
download | u-boot-fsl-qoriq-bc5556d62b6ebe6cb4302aebec9e7bbf1affd2ea.tar.xz |
Merge with /home/hs/TQ/u-boot-dev
Diffstat (limited to 'board/prodrive')
-rw-r--r-- | board/prodrive/pdnb3/nand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/prodrive/pdnb3/nand.c b/board/prodrive/pdnb3/nand.c index 1931d64..92f9c01 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 |