[U-Boot] [PATCH v2 1/4] kconfig: Add API kconfig file

Andreas Färber afaerber at suse.de
Tue Jan 17 18:16:58 CET 2017


Am 17.01.2017 um 16:50 schrieb Emmanuel Vadot:
> Add kconfig file to enable API support
> 
> Signed-off-by: Emmanuel Vadot <manu at bidouilliste.com>
> ---
>  Kconfig     | 2 ++
>  api/Kconfig | 9 +++++++++
>  2 files changed, 11 insertions(+)
>  create mode 100644 api/Kconfig
> 
> diff --git a/Kconfig b/Kconfig
> index 39a4d938d8..6a93d8820f 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -306,6 +306,8 @@ config ARCH_FIXUP_FDT_MEMORY
>  
>  endmenu		# Boot images
>  
> +source "api/Kconfig"
> +
>  source "common/Kconfig"
>  
>  source "cmd/Kconfig"
> diff --git a/api/Kconfig b/api/Kconfig
> new file mode 100644
> index 0000000000..88b4f6c4e5
> --- /dev/null
> +++ b/api/Kconfig
> @@ -0,0 +1,9 @@
> +menu "API"
> +
> +config API
> +	bool "Enable U-Boot API"
> +	default n
> +	help
> +	  This option enable the U-Boot API.

"enables"

Should the help say, e.g., "userspace API" for clarity?

> +
> +endmenu

Otherwise looks okay, obviously.

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)


More information about the U-Boot mailing list