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

login
register
mail settings
Submitter Simon Glass
Date Oct. 13, 2012, 4:48 a.m.
Message ID <1350103729-15913-5-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/191278/
State Superseded, archived
Delegated to: Simon Glass
Headers show

Comments

Simon Glass - Oct. 13, 2012, 4:48 a.m.
We want to support VGA, serial, USB keyboard and the Coreboot memory
console buffer.

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

Patch

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 */