yaffs u-boot: Add new ycheck command, fix return types and modify filesize