diff options
Diffstat (limited to 'bootloader')
-rw-r--r-- | bootloader/xduoox3.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bootloader/xduoox3.c b/bootloader/xduoox3.c index 7ed672affe..b53d92b647 100644 --- a/bootloader/xduoox3.c +++ b/bootloader/xduoox3.c | |||
@@ -136,7 +136,7 @@ static int boot_rockbox(void) | |||
136 | { | 136 | { |
137 | int rc; | 137 | int rc; |
138 | 138 | ||
139 | printf("Mounting disk...\n"); | 139 | printf("Mounting disk..."); |
140 | 140 | ||
141 | while((rc = disk_mount_all()) <= 0) { | 141 | while((rc = disk_mount_all()) <= 0) { |
142 | verbose = true; | 142 | verbose = true; |
@@ -148,12 +148,13 @@ static int boot_rockbox(void) | |||
148 | #endif | 148 | #endif |
149 | } | 149 | } |
150 | 150 | ||
151 | printf("Loading firmware...\n"); | 151 | printf("Loading firmware..."); |
152 | rc = load_firmware((unsigned char *)CONFIG_SDRAM_START, BOOTFILE, 0x400000); | 152 | rc = load_firmware((unsigned char *)CONFIG_SDRAM_START, BOOTFILE, 0x400000); |
153 | if(rc <= EFILE_EMPTY) { | 153 | if(rc <= EFILE_EMPTY) { |
154 | printf("!! " BOOTFILE); | ||
154 | return rc; | 155 | return rc; |
155 | } else { | 156 | } else { |
156 | printf("Starting Rockbox...\n"); | 157 | printf("Starting Rockbox..."); |
157 | adc_close(); /* Disable SADC, seems to fix the re-init Rockbox does */ | 158 | adc_close(); /* Disable SADC, seems to fix the re-init Rockbox does */ |
158 | disable_interrupt(); | 159 | disable_interrupt(); |
159 | exec((void*) CONFIG_SDRAM_START); | 160 | exec((void*) CONFIG_SDRAM_START); |
@@ -223,8 +224,8 @@ int main(void) | |||
223 | reset_screen(); | 224 | reset_screen(); |
224 | 225 | ||
225 | #ifndef SHOW_LOGO | 226 | #ifndef SHOW_LOGO |
226 | printf(MODEL_NAME" Rockbox Bootloader\n"); | 227 | printf(MODEL_NAME" Rockbox Bootloader"); |
227 | printf("Version %s\n", rbversion); | 228 | printf("Version %s", rbversion); |
228 | #endif | 229 | #endif |
229 | 230 | ||
230 | rc = boot_rockbox(); | 231 | rc = boot_rockbox(); |