summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/lcd-16bit.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-04-11 10:37:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-04-11 10:37:37 +0000
commitd2848f3d7226d59d2b63c781cac10123587e36ea (patch)
treeb11f5804c0162c700c66f5872bd1cc5eeac24ed9 /firmware/drivers/lcd-16bit.c
parent85212152118ccb63ecc4664083ab37cb1c3d8298 (diff)
downloadrockbox-d2848f3d7226d59d2b63c781cac10123587e36ea.tar.gz
rockbox-d2848f3d7226d59d2b63c781cac10123587e36ea.zip
moved the LCD framebuffer to IRAM for iAudio X5 - gives ~40% speed boost
I also extended the iram size properly since the 5250 coldfire has 128K git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9604 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-16bit.c')
-rw-r--r--firmware/drivers/lcd-16bit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c
index e98403aa1b..d337ea95a4 100644
--- a/firmware/drivers/lcd-16bit.c
+++ b/firmware/drivers/lcd-16bit.c
@@ -43,7 +43,7 @@ enum fill_opt {
};
/*** globals ***/
-fb_data lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH] __attribute__ ((aligned (16)));
+fb_data lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH] IRAM_LCDFRAMEBUFFER __attribute__ ((aligned (16)));
static fb_data* lcd_backdrop = NULL;
static long lcd_backdrop_offset IDATA_ATTR = 0;