summaryrefslogtreecommitdiff
path: root/bootloader/gigabeat.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-02-22 21:19:48 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-02-22 21:19:48 +0000
commitbd073cdb8d5eaaa504d3d9b3c31fe0296ca56ce0 (patch)
tree463573f3d364aee2accc06f9e74fbf36a61a06d2 /bootloader/gigabeat.c
parent10a22849e6564dfff953a41a94d14b18de97fd1e (diff)
Correct the Gigabeat bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12455 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/gigabeat.c')
-rw-r--r--bootloader/gigabeat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/gigabeat.c b/bootloader/gigabeat.c
index f9073028fb..1cfa0aeecb 100644
--- a/bootloader/gigabeat.c
+++ b/bootloader/gigabeat.c
@@ -206,7 +206,7 @@ void * main(void)
if(load_original) {
loadbuffer = (unsigned char*)0x30008000;
buffer_size =(unsigned char*)0x31000000 - loadbuffer;
- rc = load_firmware("rockbox.gigabeat", loadbuffer, buffer_size);
+ rc = load_raw_firmware(loadbuffer, "/rockbox.gigabeat", buffer_size);
if(rc < EOK) {
printf("Error!");
printf("Failed to load original firmware:");
@@ -236,7 +236,7 @@ load_rockbox:
loadbuffer = (unsigned char*) 0x100;
buffer_size = (unsigned char*)0x400000 - loadbuffer;
- rc=load_firmware("rockbox.gigabeat", loadbuffer, buffer_size);
+ rc = load_raw_firmware(loadbuffer, "/rockbox.gigabeat", buffer_size);
if(rc < EOK) {
printf("Error!");
printf("Can't load rockbox.gigabeat:");