From 4e363525672f6bbfd6512ff55974d7164a8c341d Mon Sep 17 00:00:00 2001 From: Tomasz Malesinski Date: Sat, 12 Aug 2006 22:43:44 +0000 Subject: Iriver iFP7xx memory layout adjustment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10553 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/plugin.lds | 4 ++-- firmware/app.lds | 2 +- firmware/export/config-ifp7xx.h | 4 ++-- firmware/export/config.h | 3 ++- 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) #define IRAMSIZE 0xc000 #elif CONFIG_CPU == PNX0101 #define DRAMORIG 0xc00000 + STUBOFFSET -#define IRAMORIG 0x408000 -#define IRAMSIZE 0x8000 +#define IRAMORIG 0x407000 +#define IRAMSIZE 0x9000 #else #define DRAMORIG 0x09000000 + STUBOFFSET #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; #elif CONFIG_CPU==PNX0101 #define DRAMORIG 0xc00000 + STUBOFFSET #define IRAMORIG 0x400000 -#define IRAMSIZE 0x8000 +#define IRAMSIZE 0x7000 #elif CONFIG_CPU==S3C2440 #define DRAMORIG 0x30000000 + STUBOFFSET #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 @@ #define HAVE_SW_POWEROFF /* The number of bytes reserved for loadable codecs */ -#define CODEC_SIZE 0x30000 +#define CODEC_SIZE 0x20000 /* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x20000 +#define PLUGIN_BUFFER_SIZE 0x10000 /* Define this if you have the WM8975 audio codec */ /* #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 @@ defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ (CONFIG_CPU == PP5020) || /* iPod and H10: core, plugins, codecs */ \ (CONFIG_CPU == PP5002) || /* iPod: core, plugins, codecs */ \ - (CONFIG_CPU == TCC730)) /* CalmRISC16: core, (plugins, codecs) */ + (CONFIG_CPU == TCC730) || /* CalmRISC16: core, (plugins, codecs) */ \ + (CONFIG_CPU == PNX0101)) #define ICODE_ATTR __attribute__ ((section(".icode"))) #define ICONST_ATTR __attribute__ ((section(".irodata"))) #define IDATA_ATTR __attribute__ ((section(".idata"))) -- cgit v1.2.3