diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-08-18 04:23:53 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-08-18 04:23:53 +0000 |
commit | 5b1192f834e79c161d910f05df7194e8689f8073 (patch) | |
tree | 734197c893d57f5ccc5fe87b0001d11ff5507e18 | |
parent | 47b2b579cccc531b50e4e01d757e92fa557b949c (diff) |
LCD_DEPTH == 2, vertical interleaved : specify if lcd framebuffer is in iram into the model specific config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22398 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/lcd-2bit-vi.c | 2 | ||||
-rw-r--r-- | firmware/export/config-iaudiom3.h | 2 | ||||
-rw-r--r-- | firmware/export/config-iaudiom5.h | 2 | ||||
-rw-r--r-- | firmware/export/config-iaudiox5.h | 3 |
4 files changed, 8 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-2bit-vi.c b/firmware/drivers/lcd-2bit-vi.c index 47f755f240..9ce952b9e0 100644 --- a/firmware/drivers/lcd-2bit-vi.c +++ b/firmware/drivers/lcd-2bit-vi.c @@ -47,7 +47,7 @@ /*** globals ***/ -FBFN(data) LCDFN(framebuffer)[LCDM(FBHEIGHT)][LCDM(FBWIDTH)] IBSS_ATTR; +FBFN(data) LCDFN(framebuffer)[LCDM(FBHEIGHT)][LCDM(FBWIDTH)] IRAM_LCDFRAMEBUFFER; static const FBFN(data) patterns[4] = {0xFFFF, 0xFF00, 0x00FF, 0x0000}; diff --git a/firmware/export/config-iaudiom3.h b/firmware/export/config-iaudiom3.h index 5eb7fb891b..b3d7fb83b3 100644 --- a/firmware/export/config-iaudiom3.h +++ b/firmware/export/config-iaudiom3.h @@ -171,3 +171,5 @@ #define MIN_CONTRAST_SETTING 10 #define MAX_CONTRAST_SETTING 35 #define DEFAULT_CONTRAST_SETTING 24 + +#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ diff --git a/firmware/export/config-iaudiom5.h b/firmware/export/config-iaudiom5.h index 5d86087d44..30743581f7 100644 --- a/firmware/export/config-iaudiom5.h +++ b/firmware/export/config-iaudiom5.h @@ -192,3 +192,5 @@ #define MIN_REMOTE_CONTRAST_SETTING 10 #define MAX_REMOTE_CONTRAST_SETTING 35 #define DEFAULT_REMOTE_CONTRAST_SETTING 24 /* Match boot contrast */ + +#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index e048ebefb9..dd83edf8ca 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h @@ -207,3 +207,6 @@ #define MIN_REMOTE_CONTRAST_SETTING 10 #define MAX_REMOTE_CONTRAST_SETTING 35 #define DEFAULT_REMOTE_CONTRAST_SETTING 24 /* Match boot contrast */ + +#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */ + |