]> git.sur5r.net Git - u-boot/commitdiff
x86: Select stdio devices for coreboot
authorSimon Glass <sjg@chromium.org>
Thu, 29 Nov 2012 09:58:58 +0000 (09:58 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Nov 2012 21:44:03 +0000 (13:44 -0800)
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

index 5da006fbde9f5e3b1c1c64747e26e571b3d523d4..cfe5db35a0042ef4ee033bd61138cb34ae3bd357 100644 (file)
 #define CONFIG_SYS_NS16550_COM2        UART1_BASE
 #define CONFIG_SYS_NS16550_PORT_MAPPED
 
+#define CONFIG_STD_DEVICES_SETTINGS     "stdin=usbkbd,vga,eserial0\0" \
+                                       "stdout=vga,eserial0,cbmem\0" \
+                                       "stderr=vga,eserial0,cbmem\0"
+
+#define CONFIG_CONSOLE_MUX
+#define CONFIG_SYS_CONSOLE_IS_IN_ENV
+#define CONFIG_SYS_STDIO_DEREGISTER
+#define CONFIG_CBMEM_CONSOLE
+
 /* max. 1 IDE bus      */
 #define CONFIG_SYS_IDE_MAXBUS          1
 /* max. 1 drive per IDE bus */
  */
 #define CONFIG_PCI
 
+#define CONFIG_EXTRA_ENV_SETTINGS \
+       CONFIG_STD_DEVICES_SETTINGS
+
 #endif /* __CONFIG_H */