public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: tegra: enable STDIO deregistration
@ 2015-04-13 17:11 Stephen Warren
  2015-04-13 17:22 ` Simon Glass
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Warren @ 2015-04-13 17:11 UTC (permalink / raw)
  To: u-boot

From: Stephen Warren <swarren@nvidia.com>

At the very least when USB keyboard support is enabled, we need to enable
CONFIG_SYS_STDIO_DEREGISTER, so the "usb reset" is able to re-scan USB
ports and find new devices.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
This feels like a nice fix for the upcoming release if possible. Even if
this causes horrible fallout (which I do not expect), it'll only affect
Seaboard and Ventana boards, both of which have quite limited
distribution.
---
 include/configs/tegra-common-post.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index 31096d068bb1..e792e02fd923 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -26,10 +26,11 @@
 #define STDIN_KBD_KBC ""
 #endif
 
-#ifdef CONFIG_USB_KEYBOARD
+#if defined(CONFIG_USB_KEYBOARD) && !defined(CONFIG_SPL_BUILD)
 #define STDIN_KBD_USB ",usbkbd"
 #define CONFIG_SYS_USB_EVENT_POLL
 #define CONFIG_PREBOOT			"usb start"
+#define CONFIG_SYS_STDIO_DEREGISTER
 #else
 #define STDIN_KBD_USB ""
 #endif
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-13 20:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-13 17:11 [U-Boot] [PATCH] ARM: tegra: enable STDIO deregistration Stephen Warren
2015-04-13 17:22 ` Simon Glass
2015-04-13 19:17   ` Stephen Warren
2015-04-13 20:19     ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox