[U-Boot] [PATCH] Convert CONFIG_DISABLE_CONSOLE to Kconfig

Christian Gmeiner christian.gmeiner at gmail.com
Thu Sep 20 15:05:03 UTC 2018


ping

Am Mo., 10. Sep. 2018 um 12:43 Uhr schrieb Christian Gmeiner
<christian.gmeiner at gmail.com>:
>
> This converts the following to Kconfig:
>    CONFIG_DISABLE_CONSOLE
>
> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
> ---
>  common/Kconfig               | 5 +++++
>  scripts/config_whitelist.txt | 1 -
>  2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/common/Kconfig b/common/Kconfig
> index 3030da4fc9..207cb3ae0b 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -259,6 +259,11 @@ config CONSOLE_RECORD_IN_SIZE
>           The buffer is allocated immediately after the malloc() region is
>           ready.
>
> +config DISABLE_CONSOLE
> +       bool "Add functionality to disable console completely"
> +       help
> +               Disable console (in & out).
> +
>  config IDENT_STRING
>         string "Board specific string to be added to uboot version string"
>         help
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index fc37099cbe..27fba1e963 100644
> --- a/scripts/config_whitelist.txt
> +++ b/scripts/config_whitelist.txt
> @@ -366,7 +366,6 @@ CONFIG_DHCP_MIN_EXT_LEN
>  CONFIG_DIALOG_POWER
>  CONFIG_DIMM_SLOTS_PER_CTLR
>  CONFIG_DIRECT_NOR_BOOT
> -CONFIG_DISABLE_CONSOLE
>  CONFIG_DISCONTIGMEM
>  CONFIG_DISCOVER_PHY
>  CONFIG_DISPLAY_AER_xxxx
> --
> 2.17.1
>


-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info


More information about the U-Boot mailing list