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>
This commit is contained in:
Fathi BOUDRA
2008-08-06 10:06:20 +02:00
committed by Scott Wood
parent aa646643b6
commit 195ccfc599
3 changed files with 20 additions and 8 deletions

View File

@@ -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 */