diff options
-rw-r--r-- | apps/plugins/plugin.lds | 3 | ||||
-rw-r--r-- | firmware/export/imx233.h | 2 | ||||
-rwxr-xr-x | tools/configure | 2 |
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" |