summaryrefslogtreecommitdiff
path: root/include/configs/x86-chromebook.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-10-06 02:42:18 (GMT)
committerBin Meng <bmeng.cn@gmail.com>2016-10-11 03:55:33 (GMT)
commit0d9483a25c5c936a87806108c29395f0c7d6b520 (patch)
tree77ade4e29c82977d4da81711e86a70fcf6ccead1 /include/configs/x86-chromebook.h
parent2c943804afdff8817387aa828ef9218efcf1d590 (diff)
downloadu-boot-0d9483a25c5c936a87806108c29395f0c7d6b520.tar.xz
x86: Adjust config to support DM_VIDEO
Update the common configuration so that it works correctly when CONFIG_DM_VIDEO is enabled. This involves dropping the legacy CONFIG_VIDEO option and changing the stdio device from "vga" to "vidconsole". Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/configs/x86-chromebook.h')
-rw-r--r--include/configs/x86-chromebook.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/configs/x86-chromebook.h b/include/configs/x86-chromebook.h
index 312987e..7fba716 100644
--- a/include/configs/x86-chromebook.h
+++ b/include/configs/x86-chromebook.h
@@ -53,8 +53,14 @@
#define CONFIG_SYS_WHITE_ON_BLACK
+#ifdef CONFIG_DM_VIDEO
+#define VIDEO_DEV "vidconsole"
+#else
+#define VIDEO_DEV "vga"
+#endif
+
#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \
- "stdout=vga,serial\0" \
- "stderr=vga,serial\0"
+ "stdout=" VIDEO_DEV ",serial\0" \
+ "stderr=" VIDEO_DEV ",serial\0"
#endif