summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-08-18 04:10:06 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-08-18 04:10:06 +0000
commit47b2b579cccc531b50e4e01d757e92fa557b949c (patch)
tree299f2ee41c541e75cfcd99c0e6c4122fccc958f4
parentb035fee1551b611ff6b1336c588680871298c68d (diff)
downloadrockbox-47b2b579cccc531b50e4e01d757e92fa557b949c.tar.gz
rockbox-47b2b579cccc531b50e4e01d757e92fa557b949c.zip
LCD_DEPTH == 1 : specify if lcd framebuffer is in iram into the model specific config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22397 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd-1bit-vert.c6
-rw-r--r--firmware/export/config-clip.h2
-rw-r--r--firmware/export/config-ifp7xx.h2
-rw-r--r--firmware/export/config-logikdax.h2
-rw-r--r--firmware/export/config-m200.h2
-rw-r--r--firmware/export/config-m200v4.h2
-rw-r--r--firmware/export/config-mrobe100.h2
7 files changed, 11 insertions, 7 deletions
diff --git a/firmware/drivers/lcd-1bit-vert.c b/firmware/drivers/lcd-1bit-vert.c
index db8cc6771b..dd6c7cd354 100644
--- a/firmware/drivers/lcd-1bit-vert.c
+++ b/firmware/drivers/lcd-1bit-vert.c
@@ -44,11 +44,7 @@
44 44
45/*** globals ***/ 45/*** globals ***/
46 46
47FBFN(data) LCDFN(framebuffer)[LCDM(FBHEIGHT)][LCDM(FBWIDTH)] 47FBFN(data) LCDFN(framebuffer)[LCDM(FBHEIGHT)][LCDM(FBWIDTH)] IRAM_LCDFRAMEBUFFER;
48#if CONFIG_CPU != SH7034
49 IBSS_ATTR
50#endif
51 ;
52 48
53static struct viewport default_vp = 49static struct viewport default_vp =
54{ 50{
diff --git a/firmware/export/config-clip.h b/firmware/export/config-clip.h
index 57dd6bf374..03f5edd453 100644
--- a/firmware/export/config-clip.h
+++ b/firmware/export/config-clip.h
@@ -87,7 +87,7 @@
87#define MAX_CONTRAST_SETTING 50 87#define MAX_CONTRAST_SETTING 50
88#define DEFAULT_CONTRAST_SETTING 30 88#define DEFAULT_CONTRAST_SETTING 30
89 89
90#define IRAM_LCDFRAMEBUFFER IDATA_ATTR /* put the lcd frame buffer in IRAM */ 90#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
91 91
92#define CONFIG_KEYPAD SANSA_CLIP_PAD 92#define CONFIG_KEYPAD SANSA_CLIP_PAD
93 93
diff --git a/firmware/export/config-ifp7xx.h b/firmware/export/config-ifp7xx.h
index 96faf46e91..1c85252eba 100644
--- a/firmware/export/config-ifp7xx.h
+++ b/firmware/export/config-ifp7xx.h
@@ -128,4 +128,6 @@
128#define ICODE_ATTR_ALAC 128#define ICODE_ATTR_ALAC
129#define IBSS_ATTR_SHORTEN_DECODED0 129#define IBSS_ATTR_SHORTEN_DECODED0
130 130
131#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
132
131#endif 133#endif
diff --git a/firmware/export/config-logikdax.h b/firmware/export/config-logikdax.h
index 800688b01d..54baa95b8b 100644
--- a/firmware/export/config-logikdax.h
+++ b/firmware/export/config-logikdax.h
@@ -148,4 +148,6 @@
148#define ICODE_ATTR_ALAC 148#define ICODE_ATTR_ALAC
149#define IBSS_ATTR_SHORTEN_DECODED0 149#define IBSS_ATTR_SHORTEN_DECODED0
150 150
151#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
152
151#endif /* SIMULATOR */ 153#endif /* SIMULATOR */
diff --git a/firmware/export/config-m200.h b/firmware/export/config-m200.h
index 38d59cbcbe..f9e64e8b14 100644
--- a/firmware/export/config-m200.h
+++ b/firmware/export/config-m200.h
@@ -134,4 +134,6 @@
134#define ICODE_ATTR_ALAC 134#define ICODE_ATTR_ALAC
135#define IBSS_ATTR_SHORTEN_DECODED0 135#define IBSS_ATTR_SHORTEN_DECODED0
136 136
137#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
138
137#endif /* SIMULATOR */ 139#endif /* SIMULATOR */
diff --git a/firmware/export/config-m200v4.h b/firmware/export/config-m200v4.h
index 4044c3d8ef..119bca8fe8 100644
--- a/firmware/export/config-m200v4.h
+++ b/firmware/export/config-m200v4.h
@@ -171,4 +171,6 @@
171#define ICODE_ATTR_ALAC 171#define ICODE_ATTR_ALAC
172#define IBSS_ATTR_SHORTEN_DECODED0 172#define IBSS_ATTR_SHORTEN_DECODED0
173 173
174#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
175
174#endif /* SIMULATOR */ 176#endif /* SIMULATOR */
diff --git a/firmware/export/config-mrobe100.h b/firmware/export/config-mrobe100.h
index 3fcef555d4..84d2ab14e1 100644
--- a/firmware/export/config-mrobe100.h
+++ b/firmware/export/config-mrobe100.h
@@ -43,7 +43,7 @@
43/* define this if you can invert the colours on your LCD */ 43/* define this if you can invert the colours on your LCD */
44#define HAVE_LCD_INVERT 44#define HAVE_LCD_INVERT
45 45
46/*#define IRAM_LCDFRAMEBUFFER IDATA_ATTR */ /* put the lcd frame buffer in IRAM */ 46#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
47 47
48#ifndef BOOTLOADER 48#ifndef BOOTLOADER
49/* Define this if you have an remote lcd */ 49/* Define this if you have an remote lcd */