1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-30 00:09:20 +02:00

qi-fix-nand-noboot-append-disable.patch

Recent addition of append and noboot file checks broke NAND

Reported-by: Micael Henriksson <micael.h@gmail.com>
Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green 2008-11-28 10:16:45 +00:00 committed by Andy Green
parent 4285b49897
commit d0c9237ee1

View File

@ -66,6 +66,9 @@ int read_file(const char * filepath, u8 * destination, int size)
case FS_FAT: case FS_FAT:
/* FIXME */ /* FIXME */
case FS_RAW: case FS_RAW:
/* any filename-related request in raw filesystem will fail */
if (filepath)
return -1;
puts(" RAW open: +"); puts(" RAW open: +");
printdec(partition_offset_blocks); printdec(partition_offset_blocks);
puts(" 512-byte blocks\n"); puts(" 512-byte blocks\n");