Add more descriptive comment for using the yaffs commands.
[yaffs2.git] / 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>