diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/chromeos/common.h | 3 | ||||
-rw-r--r-- | include/configs/coreboot.h | 7 | ||||
-rw-r--r-- | include/lcd.h | 6 | ||||
-rw-r--r-- | include/video.h | 6 |
4 files changed, 17 insertions, 5 deletions
diff --git a/include/chromeos/common.h b/include/chromeos/common.h index b959bbeaa7..95924b0c9b 100644 --- a/include/chromeos/common.h +++ b/include/chromeos/common.h @@ -20,4 +20,7 @@ #define VBDEBUG(fmt, args...) #endif +/* this function is implemented along with vboot_api */ +int display_clear(void); + #endif /* CHROMEOS_COMMON_H_ */ diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 697fbb96d4..847d1d8c00 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -303,9 +303,6 @@ * Network device support */ #define CONFIG_NET_MULTI -/* this will have to be enabled to get the bitmaps to work... -#define CONFIG_LCD 1 -*/ #define CONFIG_CHROMEOS_HWID "COREBOOT U-BOOT 0000" #define CONFIG_OFFSET_GBB 0x000d0000 @@ -314,7 +311,7 @@ #define CONFIG_LENGTH_FMAP 0x00000400 #define CONFIG_LCD_vl_col 1366 #define CONFIG_LCD_vl_row 768 - -#define CONFIG_LZMA +#define CONFIG_LZMA 1 +#define CONFIG_SPLASH_SCREEN 1 #endif /* __CONFIG_H */ diff --git a/include/lcd.h b/include/lcd.h index 5be67c6216..5634af003a 100644 --- a/include/lcd.h +++ b/include/lcd.h @@ -219,6 +219,12 @@ void lcd_putc (const char c); void lcd_puts (const char *s); void lcd_printf (const char *fmt, ...); int lcd_clear (void); +int lcd_get_pixel_width (void); +int lcd_get_pixel_height(void); +int lcd_get_screen_rows (void); +int lcd_get_screen_columns (void); +int lcd_display_bitmap (ulong, int, int); +void lcd_position_cursor (unsigned col, unsigned row); /* Allow boards to customize the information displayed */ void lcd_show_board_info(void); diff --git a/include/video.h b/include/video.h index efcc682a29..8b3799b0b0 100644 --- a/include/video.h +++ b/include/video.h @@ -15,5 +15,11 @@ int video_init (void *videobase); void video_putc (const char c); void video_puts (const char *s); void video_printf (const char *fmt, ...); +void video_position_cursor (unsigned col, unsigned row); +int video_display_bitmap (ulong, int, int); +int video_get_screen_rows (void); +int video_get_screen_columns (void); +int video_get_pixel_width (void); +int video_get_pixel_height(void); #endif |