summaryrefslogtreecommitdiff
path: root/common/cmd_yaffs2.c
diff options
context:
space:
mode:
authorScott Sweeny <scott.sweeny@timesys.com>2010-09-01 12:02:01 -0400
committerScott Sweeny <scott.sweeny@timesys.com>2010-09-01 12:06:18 -0400
commit3456a4958ec2ecb2b2e35b1f37039fb28274f182 (patch)
treebf6aef6608c5410ad8b7e4f49dc2cc58aad22538 /common/cmd_yaffs2.c
parente1dce181db649aadcf5c83e9459ebf53dd038073 (diff)
Freescale board patch for MPC5125_TWR board
Diffstat (limited to 'common/cmd_yaffs2.c')
-rw-r--r--common/cmd_yaffs2.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/cmd_yaffs2.c b/common/cmd_yaffs2.c
index c47ea769fea..0f2ccecfef6 100644
--- a/common/cmd_yaffs2.c
+++ b/common/cmd_yaffs2.c
@@ -139,7 +139,15 @@ int do_ydump (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
printf("yaffs_DumpDevStruct returning error when dumping path: , %s\n", dirname);
return 0;
}
-
+int mtdparts_init(void)
+{
+ return -1;
+}
+int find_dev_and_part(const char *id, struct mtd_device **dev,
+ u8 *part_num, struct part_info **part)
+{
+ return 1;
+}
U_BOOT_CMD(
ymount, 3, 0, do_ymount,
"mount yaffs",