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

Simon Glass sjg at chromium.org
Sat Nov 3 22:41:42 CET 2012


Enable the display on coreboot, using CFB.

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

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.
-- 
1.7.7.3



More information about the U-Boot mailing list