summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-ipodvideo.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-02-15 14:13:51 +0000
committerDave Chapman <dave@dchapman.com>2006-02-15 14:13:51 +0000
commit0a8e6d16736efbad1316dbf104d7f82bee2c2028 (patch)
tree6effd31ca2a7d2478453724103160684f773def0 /firmware/drivers/lcd-ipodvideo.c
parent32df71851b0f9423b6d447636016582c575302ee (diff)
downloadrockbox-0a8e6d16736efbad1316dbf104d7f82bee2c2028.tar.gz
rockbox-0a8e6d16736efbad1316dbf104d7f82bee2c2028.zip
iPod 5G: Small LCD optimisation - make lcd_bcm_write32 inline. Increases LCD speed from 28fps to 31fps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8694 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-ipodvideo.c')
-rw-r--r--firmware/drivers/lcd-ipodvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-ipodvideo.c b/firmware/drivers/lcd-ipodvideo.c
index d9ca0fc9da..1b9a604990 100644
--- a/firmware/drivers/lcd-ipodvideo.c
+++ b/firmware/drivers/lcd-ipodvideo.c
@@ -85,7 +85,7 @@ void lcd_blit(const fb_data* data, int x, int by, int width,
85 (void)stride; 85 (void)stride;
86} 86}
87 87
88static void lcd_bcm_write32(unsigned address, unsigned value) 88static inline void lcd_bcm_write32(unsigned address, unsigned value)
89{ 89{
90 /* write out destination address as two 16bit values */ 90 /* write out destination address as two 16bit values */
91 outw(address, 0x30010000); 91 outw(address, 0x30010000);