forked from len0rd/rockbox
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
This commit is contained in:
parent
b035fee155
commit
47b2b579cc
7 changed files with 11 additions and 7 deletions
|
|
@ -44,11 +44,7 @@
|
|||
|
||||
/*** globals ***/
|
||||
|
||||
FBFN(data) LCDFN(framebuffer)[LCDM(FBHEIGHT)][LCDM(FBWIDTH)]
|
||||
#if CONFIG_CPU != SH7034
|
||||
IBSS_ATTR
|
||||
#endif
|
||||
;
|
||||
FBFN(data) LCDFN(framebuffer)[LCDM(FBHEIGHT)][LCDM(FBWIDTH)] IRAM_LCDFRAMEBUFFER;
|
||||
|
||||
static struct viewport default_vp =
|
||||
{
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
#define MAX_CONTRAST_SETTING 50
|
||||
#define DEFAULT_CONTRAST_SETTING 30
|
||||
|
||||
#define IRAM_LCDFRAMEBUFFER IDATA_ATTR /* put the lcd frame buffer in IRAM */
|
||||
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||
|
||||
#define CONFIG_KEYPAD SANSA_CLIP_PAD
|
||||
|
||||
|
|
|
|||
|
|
@ -128,4 +128,6 @@
|
|||
#define ICODE_ATTR_ALAC
|
||||
#define IBSS_ATTR_SHORTEN_DECODED0
|
||||
|
||||
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -148,4 +148,6 @@
|
|||
#define ICODE_ATTR_ALAC
|
||||
#define IBSS_ATTR_SHORTEN_DECODED0
|
||||
|
||||
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||
|
||||
#endif /* SIMULATOR */
|
||||
|
|
|
|||
|
|
@ -134,4 +134,6 @@
|
|||
#define ICODE_ATTR_ALAC
|
||||
#define IBSS_ATTR_SHORTEN_DECODED0
|
||||
|
||||
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||
|
||||
#endif /* SIMULATOR */
|
||||
|
|
|
|||
|
|
@ -171,4 +171,6 @@
|
|||
#define ICODE_ATTR_ALAC
|
||||
#define IBSS_ATTR_SHORTEN_DECODED0
|
||||
|
||||
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||
|
||||
#endif /* SIMULATOR */
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
/* define this if you can invert the colours on your LCD */
|
||||
#define HAVE_LCD_INVERT
|
||||
|
||||
/*#define IRAM_LCDFRAMEBUFFER IDATA_ATTR */ /* put the lcd frame buffer in IRAM */
|
||||
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||
|
||||
#ifndef BOOTLOADER
|
||||
/* Define this if you have an remote lcd */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue