diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-04-11 01:45:11 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-04-11 01:45:11 +0000 |
commit | 464e6a140598743ade31105fe78c22b8480a4761 (patch) | |
tree | 3c22a8b80353f44d4fc4a75b20bda1f7d56aab67 /firmware/export | |
parent | aeddacbd14ec3acd839dc9bd0bab34883dd6e6c0 (diff) | |
download | rockbox-464e6a140598743ade31105fe78c22b8480a4761.tar.gz rockbox-464e6a140598743ade31105fe78c22b8480a4761.zip |
Fuze & e200v2: Put lcd framebuffer into iram, which saves 77k normal ram and gives 2.6%/7.6% (unboosted/boosted) lcd update speed up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20682 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-e200v2.h | 3 | ||||
-rw-r--r-- | firmware/export/config-fuze.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/config-e200v2.h b/firmware/export/config-e200v2.h index 7f993be512..dbd3b0c0ee 100644 --- a/firmware/export/config-e200v2.h +++ b/firmware/export/config-e200v2.h | |||
@@ -66,7 +66,8 @@ | |||
66 | /* define this if you can invert the colours on your LCD */ | 66 | /* define this if you can invert the colours on your LCD */ |
67 | #define HAVE_LCD_INVERT | 67 | #define HAVE_LCD_INVERT |
68 | 68 | ||
69 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ | 69 | /* put the lcd frame buffer in IRAM */ |
70 | #define IRAM_LCDFRAMEBUFFER IBSS_ATTR | ||
70 | 71 | ||
71 | #define CONFIG_KEYPAD SANSA_E200_PAD | 72 | #define CONFIG_KEYPAD SANSA_E200_PAD |
72 | 73 | ||
diff --git a/firmware/export/config-fuze.h b/firmware/export/config-fuze.h index a5ccf63180..51b2180217 100644 --- a/firmware/export/config-fuze.h +++ b/firmware/export/config-fuze.h | |||
@@ -70,7 +70,9 @@ | |||
70 | #define HAVE_SW_TONE_CONTROLS | 70 | #define HAVE_SW_TONE_CONTROLS |
71 | 71 | ||
72 | #endif /* !BOOTLOADER */ | 72 | #endif /* !BOOTLOADER */ |
73 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ | 73 | |
74 | /* put the lcd frame buffer in IRAM */ | ||
75 | #define IRAM_LCDFRAMEBUFFER IBSS_ATTR | ||
74 | 76 | ||
75 | #define CONFIG_KEYPAD SANSA_FUZE_PAD | 77 | #define CONFIG_KEYPAD SANSA_FUZE_PAD |
76 | 78 | ||