yaffs u-boot: Add new ycheck command, fix return types and modify filesize
authorCharles Manning <cdhmanning@gmail.com>
Wed, 29 Aug 2012 19:23:15 +0000 (07:23 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Wed, 29 Aug 2012 19:23:15 +0000 (07:23 +1200)
commit8205f5a2a78fc7e67680b42fb004f47c522e7c9d
tree0e1db464a8b55b505d79b82b0cb72ec86152841e
parent34292b4ec02c8a649d2889a4d7398a34474abe45
yaffs u-boot:  Add new ycheck command, fix return types and modify filesize

ycheck filename [DIR|REG] checks if the file exists and is of the correct type
All functions now return a value that can be tested by $?
filesize env vaiable is now set by a read

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/u-boot/common/cmd_yaffs2.c
direct/u-boot/fs/yaffs2/yaffs_uboot_glue.c
direct/u-boot/fs/yaffs2/yaffs_uboot_glue.h [new file with mode: 0644]