[U-Boot] [PATCH 5/5] x86: Select stdio devices for coreboot

Simon Glass sjg at chromium.org
Sat Oct 13 06:48:49 CEST 2012


We want to support VGA, serial, USB keyboard and the Coreboot memory
console buffer.

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

diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index 2649b82..fe589f3 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -39,6 +39,10 @@
 #define CONFIG_LAST_STAGE_INIT
 #define CONFIG_NO_RESET_CODE
 
+#define CONFIG_STD_DEVICES_SETTINGS     "stdin=usbkbd,vga,serial\0" \
+					"stdout=vga,serial,cbmem\0" \
+					"stderr=vga,serial,cbmem\0"
+
 /*-----------------------------------------------------------------------
  * Watchdog Configuration
  */
@@ -70,6 +74,9 @@
 #define CONFIG_SYS_NS16550_COM2	UART1_BASE
 #define CONFIG_SYS_NS16550_PORT_MAPPED
 
+#define CONFIG_CONSOLE_MUX
+#define CONFIG_CBMEM_CONSOLE
+
 /* max. 1 IDE bus	*/
 #define CONFIG_SYS_IDE_MAXBUS		1
 /* max. 1 drive per IDE bus */
-- 
1.7.7.3



More information about the U-Boot mailing list