diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2014-01-10 21:46:43 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2014-01-17 19:03:06 +0100 |
commit | b31c856b842096e5128a86a8316083190527d467 (patch) | |
tree | 648a14c99b81f279d2cc6767f262d27ed5abc1e0 /firmware/export | |
parent | d55e5698e587dda405ec53cceb6f3642768bd198 (diff) | |
download | rockbox-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')
-rw-r--r-- | firmware/export/config.h | 2 |
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 */ | |||
982 | 982 | ||
983 | #if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) || \ | 983 | #if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) || \ |
984 | (CONFIG_CPU == IMX31L) || (CONFIG_CPU == IMX233) || \ | 984 | (CONFIG_CPU == IMX31L) || (CONFIG_CPU == IMX233) || \ |
985 | (CONFIG_CPU == RK27XX)) \ | 985 | (CONFIG_CPU == RK27XX) || defined(CPU_COLDFIRE)) \ |
986 | && (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(BOOTLOADER) | 986 | && (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(BOOTLOADER) |
987 | /* Functions that have INIT_ATTR attached are NOT guaranteed to survive after | 987 | /* Functions that have INIT_ATTR attached are NOT guaranteed to survive after |
988 | * root_menu() has been called. Their code may be overwritten by other data or | 988 | * root_menu() has been called. Their code may be overwritten by other data or |