summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 20:33:14 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 20:33:14 +0000
commit7e8877e871bfd832ce5177267827d9b4f41d3957 (patch)
treea7598b3a4c3c732b2dcd7961d0de2246acf3fa99
parent96afbb3778e0f69f5113610150f5851a812f0fc4 (diff)
downloadrockbox-7e8877e871bfd832ce5177267827d9b4f41d3957.zip
rockbox-7e8877e871bfd832ce5177267827d9b4f41d3957.tar.gz
rockbox-7e8877e871bfd832ce5177267827d9b4f41d3957.tar.bz2
rockbox-7e8877e871bfd832ce5177267827d9b4f41d3957.tar.xz
imx233/fuze+: enable plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30700 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/plugin.lds3
-rw-r--r--firmware/export/imx233.h2
-rwxr-xr-xtools/configure2
3 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index c21d49d..7a20ddd 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -75,6 +75,9 @@ OUTPUT_FORMAT(elf32-littlemips)
#define ASM
#include "cpu.h"
#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - TTB_SIZE)
+#elif CONFIG_CPU==IMX233
+#include "cpu.h"
+#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE)
#endif
/* default to full RAM (minus codecs&plugins) unless specified otherwise */
diff --git a/firmware/export/imx233.h b/firmware/export/imx233.h
index d6c84ef..1fa1615 100644
--- a/firmware/export/imx233.h
+++ b/firmware/export/imx233.h
@@ -44,6 +44,8 @@
#define BUFFERED_DRAM_ADDR 0x90000000
#define CACHEALIGN_SIZE 32
+#define NOCACHE_BASE (UNCACHED_DRAM_ADDR - CACHED_DRAM_ADDR)
+
#define PHYSICAL_ADDR(a) \
((typeof(a))((uintptr_t)(a) >= CACHED_DRAM_ADDR ? \
((uintptr_t)(a) - CACHED_DRAM_ADDR + UNCACHED_DRAM_ADDR) \
diff --git a/tools/configure b/tools/configure
index c344271..c06611e 100755
--- a/tools/configure
+++ b/tools/configure
@@ -2521,7 +2521,7 @@ fi
boottool="true"
bootoutput=""
appextra="gui:recorder:radio"
- plugins="no"
+ plugins="yes"
swcodec="yes"
toolset=$scramblebitmaptools
t_cpu="arm"