From 2fb6396f5a73e52d059f8472a8dceba59ce31250 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Thu, 18 Jun 2009 18:16:15 +0000 Subject: Ingenic Jz4740: enable IRAM (only core, without ibss) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21331 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'firmware/export/config.h') 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*/ (CONFIG_CPU == AS3525 && MEMORYSIZE > 2) || /* AS3525 +2MB: core, plugins, codecs */ \ (CONFIG_CPU == AS3525 && MEMORYSIZE <= 2 && !defined(PLUGIN) && !defined(CODEC)) || /* AS3525 2MB:core only */ \ (CONFIG_CPU == PNX0101) || \ - (CONFIG_CPU == S5L8700)) /* Samsung S5L8700: core, plugins, codecs */ + (CONFIG_CPU == S5L8700)) /* Samsung S5L8700: core, plugins, codecs */ || \ + (CONFIG_CPU == JZ4732 && !defined(PLUGIN) && !defined(CODEC)) /* Jz4740: core only */ #define ICODE_ATTR __attribute__ ((section(".icode"))) #define ICONST_ATTR __attribute__ ((section(".irodata"))) #define IDATA_ATTR __attribute__ ((section(".idata"))) #define IBSS_ATTR __attribute__ ((section(".ibss"))) #define USE_IRAM -#if CONFIG_CPU != SH7034 && (CONFIG_CPU != AS3525 || MEMORYSIZE > 2) +#if CONFIG_CPU != SH7034 && (CONFIG_CPU != AS3525 || MEMORYSIZE > 2) && CONFIG_CPU != JZ4732 #define PLUGIN_USE_IRAM #endif #if defined(CPU_ARM) -- cgit v1.2.3