diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2019-01-02 19:19:26 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2019-01-02 19:52:05 -0500 |
commit | 52ed74aad01a6a8556692fdb39e3f3546d039b19 (patch) | |
tree | 51968f3d95b0abd59e953cead822554cd32b6db5 /firmware/target/mips | |
parent | 36a50dd00f8c311ebe568a7885bec5eaf6c21e2d (diff) | |
download | rockbox-52ed74aad01a6a8556692fdb39e3f3546d039b19.tar.gz rockbox-52ed74aad01a6a8556692fdb39e3f3546d039b19.zip |
mips: Adjust main & irq stack sizes to fit in IRAM on all targets
New amounts:
7.50K main stack
0.75K irq stack
Prior values of 8K+1K overflowed IRAM by ~660 bytes on Onda 7x7 targets,
but worked on the xDuoo X3.
(The discrepancy is due to the Onda targets having more LCD code shoved
into IRAM.)
Change-Id: I16fcfae3c5f3e36db688dfa9167b620584e79df8
Diffstat (limited to 'firmware/target/mips')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/app.lds | 4 | ||||
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/boot.lds | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/app.lds b/firmware/target/mips/ingenic_jz47xx/app.lds index acb1e86b4f..22b7c62af7 100644 --- a/firmware/target/mips/ingenic_jz47xx/app.lds +++ b/firmware/target/mips/ingenic_jz47xx/app.lds @@ -81,10 +81,10 @@ SECTIONS { *(.stack); stackbegin = .; - . += 0x2000; + . += 0x1E00; stackend = .; irqstackbegin = .; - . += 0x400; + . += 0x300; irqstackend = .; } > IRAM diff --git a/firmware/target/mips/ingenic_jz47xx/boot.lds b/firmware/target/mips/ingenic_jz47xx/boot.lds index 5c25a042b9..d8e8723d94 100644 --- a/firmware/target/mips/ingenic_jz47xx/boot.lds +++ b/firmware/target/mips/ingenic_jz47xx/boot.lds @@ -85,10 +85,10 @@ SECTIONS { *(.stack) stackbegin = .; - . += 0x2000; + . += 0x1e00; stackend = .; irqstackbegin = .; - . += 0x400; + . += 0x300; irqstackend = .; } > IRAM } |