summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-05-04 03:44:49 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-05-04 03:44:49 +0000
commit75fe8875bc3548f11e9e05ac9728c384050ed2e1 (patch)
treed4684e3324086074b2042807dcdd77b3a08c8b9a /bootloader
parent49a73ca90f1ceacbf096ddc0064d21c38c56955d (diff)
Fix firmware load error display and handling in Gigabeat S bootloader. Remove "Hello World". v.00000011 now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17347 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/gigabeat-s.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bootloader/gigabeat-s.c b/bootloader/gigabeat-s.c
index 439c81edfb..8858479de3 100644
--- a/bootloader/gigabeat-s.c
+++ b/bootloader/gigabeat-s.c
@@ -148,8 +148,7 @@ void main(void)
char model[5];
lcd_clear_display();
- printf("Hello world!");
- printf("Gigabeat S Rockbox Bootloader v.00000010");
+ printf("Gigabeat S Rockbox Bootloader v.00000011");
system_init();
kernel_init();
printf("kernel init done");
@@ -278,7 +277,7 @@ void main(void)
rc = load_firmware(loadbuffer, "/.rockbox/rockbox.gigabeat", buffer_size);
if(rc < 0)
- error((int)buf, rc);
+ error(EBOOTFILE, rc);
system_prepare_fw_start();