summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-08-18 04:23:57 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-08-18 04:23:57 +0000
commitee9ece1acf4e48aec2ce058c2739c8d6ba08e9a5 (patch)
tree462b6709bf3332e2f59262d28fde56f33bfbae49
parent5b1192f834e79c161d910f05df7194e8689f8073 (diff)
downloadrockbox-ee9ece1acf4e48aec2ce058c2739c8d6ba08e9a5.tar.gz
rockbox-ee9ece1acf4e48aec2ce058c2739c8d6ba08e9a5.zip
LCD_DEPTH == 2, horizontal packing: specify if lcd framebuffer is in iram into the model specific config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22399 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd-2bit-horz.c2
-rw-r--r--firmware/export/config-ipod1g2g.h2
-rw-r--r--firmware/export/config-ipod3g.h2
-rw-r--r--firmware/export/config-ipod4g.h2
-rw-r--r--firmware/export/config-ipodmini.h2
-rw-r--r--firmware/export/config-ipodmini2g.h2
6 files changed, 11 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-2bit-horz.c b/firmware/drivers/lcd-2bit-horz.c
index bb540a9ae1..f9a53ee20c 100644
--- a/firmware/drivers/lcd-2bit-horz.c
+++ b/firmware/drivers/lcd-2bit-horz.c
@@ -39,7 +39,7 @@
39 39
40/*** globals ***/ 40/*** globals ***/
41 41
42unsigned char lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH] IBSS_ATTR; 42unsigned char lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH] IRAM_LCDFRAMEBUFFER;
43 43
44static const unsigned char pixmask[4] ICONST_ATTR = { 44static const unsigned char pixmask[4] ICONST_ATTR = {
45 0xC0, 0x30, 0x0C, 0x03 45 0xC0, 0x30, 0x0C, 0x03
diff --git a/firmware/export/config-ipod1g2g.h b/firmware/export/config-ipod1g2g.h
index e642dfd930..d26d9787cc 100644
--- a/firmware/export/config-ipod1g2g.h
+++ b/firmware/export/config-ipod1g2g.h
@@ -169,4 +169,6 @@
169 169
170#define ICODE_ATTR_TREMOR_NOT_MDCT 170#define ICODE_ATTR_TREMOR_NOT_MDCT
171 171
172#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
173
172#endif /* SIMULATOR */ 174#endif /* SIMULATOR */
diff --git a/firmware/export/config-ipod3g.h b/firmware/export/config-ipod3g.h
index c13070a805..21c0b89207 100644
--- a/firmware/export/config-ipod3g.h
+++ b/firmware/export/config-ipod3g.h
@@ -173,4 +173,6 @@
173 173
174#define ICODE_ATTR_TREMOR_NOT_MDCT 174#define ICODE_ATTR_TREMOR_NOT_MDCT
175 175
176#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
177
176#endif /* SIMULATOR */ 178#endif /* SIMULATOR */
diff --git a/firmware/export/config-ipod4g.h b/firmware/export/config-ipod4g.h
index 599c4c254e..6c08e7533e 100644
--- a/firmware/export/config-ipod4g.h
+++ b/firmware/export/config-ipod4g.h
@@ -202,4 +202,6 @@
202#define IPOD_ACCESSORY_PROTOCOL 202#define IPOD_ACCESSORY_PROTOCOL
203#define HAVE_SERIAL 203#define HAVE_SERIAL
204 204
205#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
206
205#endif 207#endif
diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h
index d4fdc2eb2a..1ec377e646 100644
--- a/firmware/export/config-ipodmini.h
+++ b/firmware/export/config-ipodmini.h
@@ -192,4 +192,6 @@
192 192
193#define ICODE_ATTR_TREMOR_NOT_MDCT 193#define ICODE_ATTR_TREMOR_NOT_MDCT
194 194
195#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
196
195#endif 197#endif
diff --git a/firmware/export/config-ipodmini2g.h b/firmware/export/config-ipodmini2g.h
index c6a0cfa368..af83f5c31a 100644
--- a/firmware/export/config-ipodmini2g.h
+++ b/firmware/export/config-ipodmini2g.h
@@ -203,4 +203,6 @@
203 203
204#define ICODE_ATTR_TREMOR_NOT_MDCT 204#define ICODE_ATTR_TREMOR_NOT_MDCT
205 205
206#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
207
206#endif 208#endif