summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-08-18 04:24:01 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-08-18 04:24:01 +0000
commit9eea8abce5dd8916d8b691816b1a2f365f89e13e (patch)
treeb2ca1a6dd97420cda95e46b6d712d9dfb8043daf
parentee9ece1acf4e48aec2ce058c2739c8d6ba08e9a5 (diff)
downloadrockbox-9eea8abce5dd8916d8b691816b1a2f365f89e13e.tar.gz
rockbox-9eea8abce5dd8916d8b691816b1a2f365f89e13e.zip
LCD_DEPTH == 2, vertical packing: specify if lcd framebuffer is in iram into the model specific config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22400 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd-2bit-vert.c2
-rw-r--r--firmware/export/config-c100.h2
-rw-r--r--firmware/export/config-h100.h2
-rw-r--r--firmware/export/config-h120.h2
-rw-r--r--firmware/export/config-h300.h2
-rw-r--r--firmware/export/config-iaudio7.h3
-rw-r--r--firmware/export/config-mrobe500.h2
7 files changed, 14 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-2bit-vert.c b/firmware/drivers/lcd-2bit-vert.c
index 7342cbd4ff..a124e3e15d 100644
--- a/firmware/drivers/lcd-2bit-vert.c
+++ b/firmware/drivers/lcd-2bit-vert.c
@@ -36,7 +36,7 @@
36 36
37/*** globals ***/ 37/*** globals ***/
38 38
39fb_data lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH] IBSS_ATTR; 39fb_data lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH] IRAM_LCDFRAMEBUFFER;
40 40
41const unsigned char lcd_dibits[16] ICONST_ATTR = { 41const unsigned char lcd_dibits[16] ICONST_ATTR = {
42 0x00, 0x03, 0x0C, 0x0F, 0x30, 0x33, 0x3C, 0x3F, 42 0x00, 0x03, 0x0C, 0x0F, 0x30, 0x33, 0x3C, 0x3F,
diff --git a/firmware/export/config-c100.h b/firmware/export/config-c100.h
index c4e5ad5673..d632deeb84 100644
--- a/firmware/export/config-c100.h
+++ b/firmware/export/config-c100.h
@@ -129,4 +129,6 @@
129#define TCCBOOT 129#define TCCBOOT
130#endif 130#endif
131 131
132#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
133
132#endif /* SIMULATOR */ 134#endif /* SIMULATOR */
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 68b2444bc1..f06aaf8335 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -213,3 +213,5 @@
213#define MIN_REMOTE_CONTRAST_SETTING 5 213#define MIN_REMOTE_CONTRAST_SETTING 5
214#define MAX_REMOTE_CONTRAST_SETTING 63 214#define MAX_REMOTE_CONTRAST_SETTING 63
215#define DEFAULT_REMOTE_CONTRAST_SETTING 42 215#define DEFAULT_REMOTE_CONTRAST_SETTING 42
216
217#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h
index b772a36323..da75c60ecf 100644
--- a/firmware/export/config-h120.h
+++ b/firmware/export/config-h120.h
@@ -210,3 +210,5 @@
210#define MIN_REMOTE_CONTRAST_SETTING 5 210#define MIN_REMOTE_CONTRAST_SETTING 5
211#define MAX_REMOTE_CONTRAST_SETTING 63 211#define MAX_REMOTE_CONTRAST_SETTING 63
212#define DEFAULT_REMOTE_CONTRAST_SETTING 42 212#define DEFAULT_REMOTE_CONTRAST_SETTING 42
213
214#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h
index 91f54f5479..f32732f545 100644
--- a/firmware/export/config-h300.h
+++ b/firmware/export/config-h300.h
@@ -206,3 +206,5 @@
206#define MIN_REMOTE_CONTRAST_SETTING 5 206#define MIN_REMOTE_CONTRAST_SETTING 5
207#define MAX_REMOTE_CONTRAST_SETTING 63 207#define MAX_REMOTE_CONTRAST_SETTING 63
208#define DEFAULT_REMOTE_CONTRAST_SETTING 42 208#define DEFAULT_REMOTE_CONTRAST_SETTING 42
209
210#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
diff --git a/firmware/export/config-iaudio7.h b/firmware/export/config-iaudio7.h
index 1e7c42258c..c8612bb2b9 100644
--- a/firmware/export/config-iaudio7.h
+++ b/firmware/export/config-iaudio7.h
@@ -162,4 +162,7 @@
162#ifdef BOOTLOADER 162#ifdef BOOTLOADER
163#define TCCBOOT 163#define TCCBOOT
164#endif 164#endif
165
166#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
167
165#endif /* SIMULATOR */ 168#endif /* SIMULATOR */
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h
index 29591ce99a..15ce1265c8 100644
--- a/firmware/export/config-mrobe500.h
+++ b/firmware/export/config-mrobe500.h
@@ -249,4 +249,6 @@
249#define BOOTFILE "rockbox." BOOTFILE_EXT 249#define BOOTFILE "rockbox." BOOTFILE_EXT
250#define BOOTDIR "/.rockbox" 250#define BOOTDIR "/.rockbox"
251 251
252#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
253
252#endif 254#endif