summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-04-20 18:43:47 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-04-20 18:43:47 +0000
commit7a2d9ddb08edb65b39bb3276dd60aec4ce7e8d87 (patch)
tree599cff1325bca86d777b65eb183245bd5717cac4 /firmware/export
parent850a11250a8c5b6825b080ff843f30fd68cb71f6 (diff)
downloadrockbox-7a2d9ddb08edb65b39bb3276dd60aec4ce7e8d87.zip
rockbox-7a2d9ddb08edb65b39bb3276dd60aec4ce7e8d87.tar.gz
rockbox-7a2d9ddb08edb65b39bb3276dd60aec4ce7e8d87.tar.bz2
rockbox-7a2d9ddb08edb65b39bb3276dd60aec4ce7e8d87.tar.xz
move some data around to place qh_array at the start of iram. This saves up to about 2k iram on PP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17194 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rwxr-xr-xfirmware/export/imx31l.h1
-rw-r--r--firmware/export/pp5020.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/imx31l.h b/firmware/export/imx31l.h
index 9544603..aea4b9e 100755
--- a/firmware/export/imx31l.h
+++ b/firmware/export/imx31l.h
@@ -34,6 +34,7 @@
#define FRAME_SIZE (240*320*2)
#define DEVBSS_ATTR __attribute__((section(".devbss"),nocommon))
+#define QHARRAY_ATTR __attribute__((section(".qharray"),nocommon))
/*
* AIPS 1
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h
index 1635119..52acb2f 100644
--- a/firmware/export/pp5020.h
+++ b/firmware/export/pp5020.h
@@ -21,6 +21,8 @@
/* All info gleaned and/or copied from the iPodLinux project. */
+#define QHARRAY_ATTR __attribute__((section(".qharray"),nocommon))
+
/* DRAM starts at 0x10000000, but in Rockbox we remap it to 0x00000000 */
#define DRAM_START 0x10000000