summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Malesinski <tomal@rockbox.org>2006-08-12 22:43:44 +0000
committerTomasz Malesinski <tomal@rockbox.org>2006-08-12 22:43:44 +0000
commit4e363525672f6bbfd6512ff55974d7164a8c341d (patch)
tree4633d25f71452462c9775f5da5c5f5a89f003c57
parent4e5f4ee5e03072d8f470610f8751efcf17ad4f6a (diff)
downloadrockbox-4e363525672f6bbfd6512ff55974d7164a8c341d.tar.gz
rockbox-4e363525672f6bbfd6512ff55974d7164a8c341d.zip
Iriver iFP7xx memory layout adjustment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10553 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/plugin.lds4
-rw-r--r--firmware/app.lds2
-rw-r--r--firmware/export/config-ifp7xx.h4
-rw-r--r--firmware/export/config.h3
4 files changed, 7 insertions, 6 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index eb21dd6eec..484157ac92 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -38,8 +38,8 @@ OUTPUT_FORMAT(elf32-sh)
38#define IRAMSIZE 0xc000 38#define IRAMSIZE 0xc000
39#elif CONFIG_CPU == PNX0101 39#elif CONFIG_CPU == PNX0101
40#define DRAMORIG 0xc00000 + STUBOFFSET 40#define DRAMORIG 0xc00000 + STUBOFFSET
41#define IRAMORIG 0x408000 41#define IRAMORIG 0x407000
42#define IRAMSIZE 0x8000 42#define IRAMSIZE 0x9000
43#else 43#else
44#define DRAMORIG 0x09000000 + STUBOFFSET 44#define DRAMORIG 0x09000000 + STUBOFFSET
45#endif 45#endif
diff --git a/firmware/app.lds b/firmware/app.lds
index 7a8ec11c3e..3ceb8543a9 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -133,7 +133,7 @@ _pluginbuf = 0;
133#elif CONFIG_CPU==PNX0101 133#elif CONFIG_CPU==PNX0101
134#define DRAMORIG 0xc00000 + STUBOFFSET 134#define DRAMORIG 0xc00000 + STUBOFFSET
135#define IRAMORIG 0x400000 135#define IRAMORIG 0x400000
136#define IRAMSIZE 0x8000 136#define IRAMSIZE 0x7000
137#elif CONFIG_CPU==S3C2440 137#elif CONFIG_CPU==S3C2440
138#define DRAMORIG 0x30000000 + STUBOFFSET 138#define DRAMORIG 0x30000000 + STUBOFFSET
139#define IRAMORIG 0x40000000 139#define IRAMORIG 0x40000000
diff --git a/firmware/export/config-ifp7xx.h b/firmware/export/config-ifp7xx.h
index 6247625618..4d89099067 100644
--- a/firmware/export/config-ifp7xx.h
+++ b/firmware/export/config-ifp7xx.h
@@ -33,10 +33,10 @@
33#define HAVE_SW_POWEROFF 33#define HAVE_SW_POWEROFF
34 34
35/* The number of bytes reserved for loadable codecs */ 35/* The number of bytes reserved for loadable codecs */
36#define CODEC_SIZE 0x30000 36#define CODEC_SIZE 0x20000
37 37
38/* The number of bytes reserved for loadable plugins */ 38/* The number of bytes reserved for loadable plugins */
39#define PLUGIN_BUFFER_SIZE 0x20000 39#define PLUGIN_BUFFER_SIZE 0x10000
40 40
41/* Define this if you have the WM8975 audio codec */ 41/* Define this if you have the WM8975 audio codec */
42/* #define HAVE_WM8975 */ 42/* #define HAVE_WM8975 */
diff --git a/firmware/export/config.h b/firmware/export/config.h
index f00ac6498c..a934211542 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -247,7 +247,8 @@
247 defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ 247 defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \
248 (CONFIG_CPU == PP5020) || /* iPod and H10: core, plugins, codecs */ \ 248 (CONFIG_CPU == PP5020) || /* iPod and H10: core, plugins, codecs */ \
249 (CONFIG_CPU == PP5002) || /* iPod: core, plugins, codecs */ \ 249 (CONFIG_CPU == PP5002) || /* iPod: core, plugins, codecs */ \
250 (CONFIG_CPU == TCC730)) /* CalmRISC16: core, (plugins, codecs) */ 250 (CONFIG_CPU == TCC730) || /* CalmRISC16: core, (plugins, codecs) */ \
251 (CONFIG_CPU == PNX0101))
251#define ICODE_ATTR __attribute__ ((section(".icode"))) 252#define ICODE_ATTR __attribute__ ((section(".icode")))
252#define ICONST_ATTR __attribute__ ((section(".irodata"))) 253#define ICONST_ATTR __attribute__ ((section(".irodata")))
253#define IDATA_ATTR __attribute__ ((section(".idata"))) 254#define IDATA_ATTR __attribute__ ((section(".idata")))