summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-01-21 07:05:51 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-01-21 07:05:51 +0000
commit863c03f2ae08e8fa431f3d40a167605fae726a15 (patch)
tree830881f5ed41b98ee4cdf502b32264ad89a40206 /firmware/target
parent523036251550b69ed3f204b1e1f21478cfc48174 (diff)
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')
-rw-r--r--firmware/target/arm/imx31/crt0.S10
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:
#endif
/* Make memory coherent for devices */
- bl clean_dcache
+ bl cpucache_commit_discard
bl main
@@ -351,9 +351,13 @@ data_abort_handler:
b UIE
/* 256 words of IRQ stack */
- .space 256*4
+ .section .bss
+ .balign 32
+ .space 256*4
irq_stack:
/* 256 words of FIQ stack */
- .space 256*4
+ .section .bss
+ .balign 32
+ .space 256*4
fiq_stack: