summaryrefslogtreecommitdiff
path: root/board/mcc200/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/mcc200/lcd.c')
-rw-r--r--board/mcc200/lcd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/board/mcc200/lcd.c b/board/mcc200/lcd.c
index caf8d8b..1901908 100644
--- a/board/mcc200/lcd.c
+++ b/board/mcc200/lcd.c
@@ -68,10 +68,6 @@ vidinfo_t panel_info = {
LCD_WIDTH, LCD_HEIGHT, LCD_BPP
};
-/*
- * Frame buffer memory information
- */
-void *lcd_base; /* Start of framebuffer memory */
/*
* The device we use to communicate with PSoC
@@ -147,12 +143,12 @@ void lcd_enable (void)
#if !defined(SWAPPED_LCD)
for (i=0; i<fb_size; i++) {
- serial_putc_raw_dev (PSOC_PSC, ((char *)lcd_base)[i]);
+ serial_putc_raw_dev(PSOC_PSC, ((char *)gd->fb_base)[i]);
}
#else
{
int x, y, pwidth;
- char *p = (char *)lcd_base;
+ char *p = (char *)gd->fb_base;
pwidth = ((panel_info.vl_col+7) >> 3);
for (y=0; y<panel_info.vl_row; y++) {