]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra: enable STDIO deregistration
authorStephen Warren <swarren@nvidia.com>
Tue, 14 Apr 2015 14:41:14 +0000 (08:41 -0600)
committerTom Warren <twarren@nvidia.com>
Wed, 13 May 2015 16:24:12 +0000 (09:24 -0700)
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. Enable it everywhere per request from Simon
Glass.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/tegra-common.h

index 2cf1f68404b138395bd45ac02979c264d041e6eb..7ae179235484172c7b9d88f3a686943989379c57 100644 (file)
@@ -89,6 +89,9 @@
 
 #define CONFIG_CONSOLE_MUX
 #define CONFIG_SYS_CONSOLE_IS_IN_ENV
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_SYS_STDIO_DEREGISTER
+#endif
 
 /*
  * Miscellaneous configurable options