summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-18 18:16:15 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-18 18:16:15 +0000
commit2fb6396f5a73e52d059f8472a8dceba59ce31250 (patch)
tree5f0da6964bc5f4582b88d2f16a3d2eb8626ee628 /firmware/export
parent0181bc42c942797b1e215e6f7861aa760207b8db (diff)
downloadrockbox-2fb6396f5a73e52d059f8472a8dceba59ce31250.tar.gz
rockbox-2fb6396f5a73e52d059f8472a8dceba59ce31250.zip
Ingenic Jz4740: enable IRAM (only core, without ibss)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21331 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 696c923bb6..e53e19ac1d 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -639,13 +639,14 @@ Lyre prototype 1*/
639 (CONFIG_CPU == AS3525 && MEMORYSIZE > 2) || /* AS3525 +2MB: core, plugins, codecs */ \ 639 (CONFIG_CPU == AS3525 && MEMORYSIZE > 2) || /* AS3525 +2MB: core, plugins, codecs */ \
640 (CONFIG_CPU == AS3525 && MEMORYSIZE <= 2 && !defined(PLUGIN) && !defined(CODEC)) || /* AS3525 2MB:core only */ \ 640 (CONFIG_CPU == AS3525 && MEMORYSIZE <= 2 && !defined(PLUGIN) && !defined(CODEC)) || /* AS3525 2MB:core only */ \
641 (CONFIG_CPU == PNX0101) || \ 641 (CONFIG_CPU == PNX0101) || \
642 (CONFIG_CPU == S5L8700)) /* Samsung S5L8700: core, plugins, codecs */ 642 (CONFIG_CPU == S5L8700)) /* Samsung S5L8700: core, plugins, codecs */ || \
643 (CONFIG_CPU == JZ4732 && !defined(PLUGIN) && !defined(CODEC)) /* Jz4740: core only */
643#define ICODE_ATTR __attribute__ ((section(".icode"))) 644#define ICODE_ATTR __attribute__ ((section(".icode")))
644#define ICONST_ATTR __attribute__ ((section(".irodata"))) 645#define ICONST_ATTR __attribute__ ((section(".irodata")))
645#define IDATA_ATTR __attribute__ ((section(".idata"))) 646#define IDATA_ATTR __attribute__ ((section(".idata")))
646#define IBSS_ATTR __attribute__ ((section(".ibss"))) 647#define IBSS_ATTR __attribute__ ((section(".ibss")))
647#define USE_IRAM 648#define USE_IRAM
648#if CONFIG_CPU != SH7034 && (CONFIG_CPU != AS3525 || MEMORYSIZE > 2) 649#if CONFIG_CPU != SH7034 && (CONFIG_CPU != AS3525 || MEMORYSIZE > 2) && CONFIG_CPU != JZ4732
649#define PLUGIN_USE_IRAM 650#define PLUGIN_USE_IRAM
650#endif 651#endif
651#if defined(CPU_ARM) 652#if defined(CPU_ARM)