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.tar.gz
rockbox-7e8877e871bfd832ce5177267827d9b4f41d3957.zip
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 c21d49d00b..7a20ddd219 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -75,6 +75,9 @@ OUTPUT_FORMAT(elf32-littlemips)
75#define ASM 75#define ASM
76#include "cpu.h" 76#include "cpu.h"
77#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - TTB_SIZE) 77#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - TTB_SIZE)
78#elif CONFIG_CPU==IMX233
79#include "cpu.h"
80#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE)
78#endif 81#endif
79 82
80 /* default to full RAM (minus codecs&plugins) unless specified otherwise */ 83 /* default to full RAM (minus codecs&plugins) unless specified otherwise */
diff --git a/firmware/export/imx233.h b/firmware/export/imx233.h
index d6c84ef6f5..1fa16154c1 100644
--- a/firmware/export/imx233.h
+++ b/firmware/export/imx233.h
@@ -44,6 +44,8 @@
44#define BUFFERED_DRAM_ADDR 0x90000000 44#define BUFFERED_DRAM_ADDR 0x90000000
45#define CACHEALIGN_SIZE 32 45#define CACHEALIGN_SIZE 32
46 46
47#define NOCACHE_BASE (UNCACHED_DRAM_ADDR - CACHED_DRAM_ADDR)
48
47#define PHYSICAL_ADDR(a) \ 49#define PHYSICAL_ADDR(a) \
48 ((typeof(a))((uintptr_t)(a) >= CACHED_DRAM_ADDR ? \ 50 ((typeof(a))((uintptr_t)(a) >= CACHED_DRAM_ADDR ? \
49 ((uintptr_t)(a) - CACHED_DRAM_ADDR + UNCACHED_DRAM_ADDR) \ 51 ((uintptr_t)(a) - CACHED_DRAM_ADDR + UNCACHED_DRAM_ADDR) \
diff --git a/tools/configure b/tools/configure
index c3442719c0..c06611e105 100755
--- a/tools/configure
+++ b/tools/configure
@@ -2521,7 +2521,7 @@ fi
2521 boottool="true" 2521 boottool="true"
2522 bootoutput="" 2522 bootoutput=""
2523 appextra="gui:recorder:radio" 2523 appextra="gui:recorder:radio"
2524 plugins="no" 2524 plugins="yes"
2525 swcodec="yes" 2525 swcodec="yes"
2526 toolset=$scramblebitmaptools 2526 toolset=$scramblebitmaptools
2527 t_cpu="arm" 2527 t_cpu="arm"