Patchwork [U-Boot,20/20] x86: coreboot: Enable video display

login
register
mail settings
Submitter Simon Glass
Date Nov. 3, 2012, 9:41 p.m.
Message ID <1351978902-23719-21-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/196942/
State Accepted, archived
Delegated to: Simon Glass
Headers show

Comments

Simon Glass - Nov. 3, 2012, 9:41 p.m.
Enable the display on coreboot, using CFB.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 include/configs/coreboot.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

Patch

diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index 7c9c7e4..e62d7aa 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -59,6 +59,7 @@ 
  */
 #define CONFIG_RTC_MC146818
 #define CONFIG_SYS_ISA_IO_BASE_ADDRESS	0
+#define CONFIG_SYS_ISA_IO      CONFIG_SYS_ISA_IO_BASE_ADDRESS
 
 /*-----------------------------------------------------------------------
  * Serial Configuration
@@ -108,8 +109,13 @@ 
 /*-----------------------------------------------------------------------
  * Video Configuration
  */
-#undef CONFIG_VIDEO
-#undef CONFIG_CFB_CONSOLE
+#define CONFIG_VIDEO
+#define CONFIG_VIDEO_COREBOOT
+#define CONFIG_VIDEO_SW_CURSOR
+#define VIDEO_FB_16BPP_WORD_SWAP
+#define CONFIG_I8042_KBD
+#define CONFIG_CFB_CONSOLE
+#define CONFIG_SYS_CONSOLE_INFO_QUIET
 
 /*-----------------------------------------------------------------------
  * Command line configuration.