summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2012-01-13 15:15:13 -0800
committerVincent Palatin <vpalatin@chromium.org>2012-01-13 18:32:57 -0800
commit5efb9011d360f0796bd80944de15d2a6e4391762 (patch)
tree26e9e36c7ac8313cc36f77769fba893a1427b370 /include
parent51135b4045b8e8743432201f37d8beeb0bfe4fc9 (diff)
config: coreboot: allow to unregister input devices
Allow to reconfigure properly the USB keyboard driver when we enumerate several times the USB devices and its position in the device tree has changes. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=chrome-os-partner:7188 chrome-os-partner:7430 chrome-os-partner:7432 chrome-os-partner:7559 TEST=On lumpy with usb keyboard configured, run in recovery mode, insert a bad key, press tab, remove the key, press tab. The recovery info are displayed properly. Change-Id: Ief5e25879fe75fb6371a089a310c5d6af662252f Reviewed-on: https://gerrit.chromium.org/gerrit/14188 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/coreboot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index d345ea3154..164195096e 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -100,6 +100,7 @@
#endif
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
+#define CONFIG_SYS_STDIO_DEREGISTER
#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,vga,serial\0" \
"stdout=serial,cbmem\0" \
"stderr=vga,serial,cbmem\0"