diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-01-21 07:05:51 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-01-21 07:05:51 +0000 |
commit | 863c03f2ae08e8fa431f3d40a167605fae726a15 (patch) | |
tree | 830881f5ed41b98ee4cdf502b32264ad89a40206 /firmware/target/arm/imx31/crt0.S | |
parent | 523036251550b69ed3f204b1e1f21478cfc48174 (diff) | |
download | rockbox-863c03f2ae08e8fa431f3d40a167605fae726a15.tar.gz rockbox-863c03f2ae08e8fa431f3d40a167605fae726a15.zip |
Gigabeat S: Renovate bootloader a bit to show splash, implement verbose, shutdown on low battery, handle hold-switch-on and wait only so long for USB if a USB charger is inserted at boot instead of being connected to a host. 'Bootloader USB mode' display is just part of normal printf stream now. Move interrupt stacks into .bss area so they aren't loaded (for firmware too).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29099 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/crt0.S')
-rw-r--r-- | firmware/target/arm/imx31/crt0.S | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/firmware/target/arm/imx31/crt0.S b/firmware/target/arm/imx31/crt0.S index 53e18c17df..776699da14 100644 --- a/firmware/target/arm/imx31/crt0.S +++ b/firmware/target/arm/imx31/crt0.S | |||
@@ -298,7 +298,7 @@ remap_end: | |||
298 | #endif | 298 | #endif |
299 | 299 | ||
300 | /* Make memory coherent for devices */ | 300 | /* Make memory coherent for devices */ |
301 | bl clean_dcache | 301 | bl cpucache_commit_discard |
302 | 302 | ||
303 | bl main | 303 | bl main |
304 | 304 | ||
@@ -351,9 +351,13 @@ data_abort_handler: | |||
351 | b UIE | 351 | b UIE |
352 | 352 | ||
353 | /* 256 words of IRQ stack */ | 353 | /* 256 words of IRQ stack */ |
354 | .space 256*4 | 354 | .section .bss |
355 | .balign 32 | ||
356 | .space 256*4 | ||
355 | irq_stack: | 357 | irq_stack: |
356 | 358 | ||
357 | /* 256 words of FIQ stack */ | 359 | /* 256 words of FIQ stack */ |
358 | .space 256*4 | 360 | .section .bss |
361 | .balign 32 | ||
362 | .space 256*4 | ||
359 | fiq_stack: | 363 | fiq_stack: |