summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-08-22 11:58:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-08-22 11:58:30 -0400
commit97b0e5b5a167caa0eedd01c2acbed0916ee696ba (patch)
tree9eed96ae7e7c1fb61469bc6c7bda37f56fe1108c
parentd1653bc4d89592f07206ad8f5b711fcf7d58a92d (diff)
downloadrockbox-97b0e5b5a167caa0eedd01c2acbed0916ee696ba.tar.gz
rockbox-97b0e5b5a167caa0eedd01c2acbed0916ee696ba.zip
xduoox3: More minor bootloader tweaks
Change-Id: I16b5ada06842822e14c0e4fc262f2cb8067aff72
-rw-r--r--bootloader/xduoox3.c11
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();