diff options
author | Fathi BOUDRA <fabo@debian.org> | 2008-08-06 10:06:20 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2008-08-12 11:31:32 -0500 |
commit | 195ccfc5991d48764b2519941e3507f693851d5d (patch) | |
tree | ce408bdc4c66f24be4b4ae73cbfaa088b871456d /include | |
parent | aa646643b6bc250cb3a4966bf728876e0c10d329 (diff) | |
download | u-boot-imx-195ccfc5991d48764b2519941e3507f693851d5d.zip u-boot-imx-195ccfc5991d48764b2519941e3507f693851d5d.tar.gz u-boot-imx-195ccfc5991d48764b2519941e3507f693851d5d.tar.bz2 |
OneNAND: Fill in MTD function pointers for OneNAND.
onenand_print_device_info():
- Now returns a string to be placed in mtd->name,
rather than calling printf.
- Remove verbose parameter as it becomes useless.
Signed-off-by: Fathi Boudra <fabo@debian.org>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/onenand_uboot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/onenand_uboot.h b/include/onenand_uboot.h index 4449f98..4260ee7 100644 --- a/include/onenand_uboot.h +++ b/include/onenand_uboot.h @@ -39,6 +39,6 @@ extern int onenand_erase(struct mtd_info *mtd, struct erase_info *instr); extern int onenand_unlock(struct mtd_info *mtd, loff_t ofs, size_t len); -extern void onenand_print_device_info(int device, int verbose); +extern char *onenand_print_device_info(int device); #endif /* __UBOOT_ONENAND_H */ |