diff options
Diffstat (limited to 'bootloader/ondavx747.c')
-rw-r--r-- | bootloader/ondavx747.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bootloader/ondavx747.c b/bootloader/ondavx747.c index 4dfc78d58c..2903b04252 100644 --- a/bootloader/ondavx747.c +++ b/bootloader/ondavx747.c | |||
@@ -94,7 +94,7 @@ static int boot_of(void) | |||
94 | printf("Mounting disk..."); | 94 | printf("Mounting disk..."); |
95 | rc = disk_mount_all(); | 95 | rc = disk_mount_all(); |
96 | if (rc <= 0) | 96 | if (rc <= 0) |
97 | error(EDISK,rc); | 97 | error(EDISK, rc, true); |
98 | 98 | ||
99 | /* TODO: get this from the NAND flash instead of SD */ | 99 | /* TODO: get this from the NAND flash instead of SD */ |
100 | fd = open("/ccpmp.bin", O_RDONLY); | 100 | fd = open("/ccpmp.bin", O_RDONLY); |
@@ -147,7 +147,7 @@ static int boot_rockbox(void) | |||
147 | printf("Mounting disk..."); | 147 | printf("Mounting disk..."); |
148 | rc = disk_mount_all(); | 148 | rc = disk_mount_all(); |
149 | if (rc <= 0) | 149 | if (rc <= 0) |
150 | error(EDISK,rc); | 150 | error(EDISK,rc, true); |
151 | 151 | ||
152 | printf("Loading firmware..."); | 152 | printf("Loading firmware..."); |
153 | rc = load_firmware((unsigned char *)CONFIG_SDRAM_START, BOOTFILE, 0x400000); | 153 | rc = load_firmware((unsigned char *)CONFIG_SDRAM_START, BOOTFILE, 0x400000); |
@@ -172,7 +172,7 @@ static void reset_configuration(void) | |||
172 | 172 | ||
173 | rc = disk_mount_all(); | 173 | rc = disk_mount_all(); |
174 | if (rc <= 0) | 174 | if (rc <= 0) |
175 | error(EDISK,rc); | 175 | error(EDISK,rc, true); |
176 | 176 | ||
177 | if(rename(ROCKBOX_DIR "/config.cfg", ROCKBOX_DIR "/config.old") == 0) | 177 | if(rename(ROCKBOX_DIR "/config.cfg", ROCKBOX_DIR "/config.old") == 0) |
178 | show_splash(HZ/2, "Configuration reset successfully!"); | 178 | show_splash(HZ/2, "Configuration reset successfully!"); |
@@ -271,7 +271,7 @@ int main(void) | |||
271 | 271 | ||
272 | rc = storage_init(); | 272 | rc = storage_init(); |
273 | if(rc) | 273 | if(rc) |
274 | error(EATA, rc); | 274 | error(EATA, rc, true); |
275 | 275 | ||
276 | /* Don't mount the disks yet, there could be file system/partition errors | 276 | /* Don't mount the disks yet, there could be file system/partition errors |
277 | which are fixable in USB mode */ | 277 | which are fixable in USB mode */ |