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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user