summaryrefslogtreecommitdiffstats
path: root/bootloader/common.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-03-16 14:28:00 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-03-16 14:28:00 +0000
commit14ed3ca8d88a8f792e45b5453c9f089ffd8a975a (patch)
tree3a08677ad987d3af59c6744c0d69596aea61e4d2 /bootloader/common.c
parent114641849427b8b2df6630d6b841d4c7058fd317 (diff)
downloadrockbox-14ed3ca8d88a8f792e45b5453c9f089ffd8a975a.tar.gz
rockbox-14ed3ca8d88a8f792e45b5453c9f089ffd8a975a.tar.bz2
rockbox-14ed3ca8d88a8f792e45b5453c9f089ffd8a975a.zip
In preparation for use with sansapatcher, change portalplayer bootloaders to read firmwares in mi4 format.
When loading the OF: 1) first try to load from a hidden disk partition 2) try loading /System/OF.mi4 3) finally fall back to loading /System/OF.bin which is what the old bootloader used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12802 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/common.c')
-rw-r--r--bootloader/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloader/common.c b/bootloader/common.c
index a382816791..51b751cbf9 100644
--- a/bootloader/common.c
+++ b/bootloader/common.c
@@ -97,6 +97,8 @@ char *strerror(int error)
return "Bad checksum";
case EFILE_TOO_BIG:
return "File too big";
+ case EINVALID_FORMAT:
+ return "Invalid file format";
default:
return "Unknown";
}