summaryrefslogtreecommitdiffstats
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2014-01-10 21:46:43 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2014-01-17 19:03:06 +0100
commitb31c856b842096e5128a86a8316083190527d467 (patch)
tree648a14c99b81f279d2cc6767f262d27ed5abc1e0 /firmware/export/config.h
parentd55e5698e587dda405ec53cceb6f3642768bd198 (diff)
downloadrockbox-b31c856b842096e5128a86a8316083190527d467.tar.gz
rockbox-b31c856b842096e5128a86a8316083190527d467.zip
coldfire: Implement HAVE_INIT_ATTR magic
This reclaims ~6kB of ram. Change-Id: Iafdc661b1cf4445669c08c79205043792b8d14c3 Reviewed-on: http://gerrit.rockbox.org/718 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 50b5ee4e43..89e0036947 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -982,7 +982,7 @@ Lyre prototype 1 */
#if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) || \
(CONFIG_CPU == IMX31L) || (CONFIG_CPU == IMX233) || \
- (CONFIG_CPU == RK27XX)) \
+ (CONFIG_CPU == RK27XX) || defined(CPU_COLDFIRE)) \
&& (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(BOOTLOADER)
/* Functions that have INIT_ATTR attached are NOT guaranteed to survive after
* root_menu() has been called. Their code may be overwritten by other data or