summaryrefslogtreecommitdiff
path: root/common/cmd_onenand.c
diff options
context:
space:
mode:
authorFathi BOUDRA <fabo@debian.org>2008-08-06 10:06:20 +0200
committerScott Wood <scottwood@freescale.com>2008-08-12 11:31:32 -0500
commit195ccfc5991d48764b2519941e3507f693851d5d (patch)
treece408bdc4c66f24be4b4ae73cbfaa088b871456d /common/cmd_onenand.c
parentaa646643b6bc250cb3a4966bf728876e0c10d329 (diff)
downloadu-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 'common/cmd_onenand.c')
-rw-r--r--common/cmd_onenand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_onenand.c b/common/cmd_onenand.c
index d6d3376..419bf70 100644
--- a/common/cmd_onenand.c
+++ b/common/cmd_onenand.c
@@ -38,7 +38,7 @@ int do_onenand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
onenand_init();
return 0;
}
- onenand_print_device_info(onenand_chip.device_id, 1);
+ printf("%s\n", onenand_mtd.name);
return 0;
default: