[U-Boot] [PATCH V2] ARM: tegra: enable STDIO deregistration

Simon Glass sjg at chromium.org
Wed Apr 15 00:44:54 CEST 2015


On 14 April 2015 at 08:41, Stephen Warren <swarren at wwwdotorg.org> wrote:
>
> From: Stephen Warren <swarren at 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. Enable it everywhere per request from Simon
> Glass.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
> v2: Always enable the option, and hence do so in a different file.
>
> Since v1 missed the v2015.04 release, here's v2 that implements the "post
> release" request from Simon right from the get-go.
> ---
>  include/configs/tegra-common.h | 3 +++
>  1 file changed, 3 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


> diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
> index 2cf1f68404b1..7ae179235484 100644
> --- a/include/configs/tegra-common.h
> +++ b/include/configs/tegra-common.h
> @@ -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
> --
> 1.9.1
>


More information about the U-Boot mailing list