Add more descriptive comment for using the yaffs commands.
authorCharles Manning <cdhmanning@gmail.com>
Tue, 3 Apr 2012 02:33:14 +0000 (14:33 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Tue, 3 Apr 2012 02:33:14 +0000 (14:33 +1200)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/u-boot/common/cmd_yaffs2.c

index fd9b4faeae3746d730ffabb4a0452d02e8ae08ac..69ccd0987d786c87b4c7f85ee5a380fca400dcdf 100644 (file)
@@ -1,6 +1,16 @@
 /* Yaffs commands.
  * Modified by Charles Manning by adding ydevconfig command.
  *
+ * Use ydevconfig to configure a mountpoint before use.
+ * For example:
+ *  # Configure mountpt xxx using nand device 0 using blocks 100-500
+ *  ydevconfig xxx 0 100 500
+ *  # Mount it
+ *  ymount xxx
+ *  # yls, yrdm etc
+ *  yls -l xxx
+ *  yrdm xxx/boot-image 82000000
+ *  ...
  */
 
 #include <common.h>