[U-Boot] [PATCH] Kconfig: Add description for CMD_POWEROFF

Tom Rini trini at konsulko.com
Sun Jun 4 00:55:25 UTC 2017


On Mon, May 29, 2017 at 09:06:50AM +0200, Michal Simek wrote:
> Add poweroff description to Kconfig to make it selectable
> via menuconfig.
> 
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
> 
>  cmd/Kconfig | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 5ee52f62cc14..e2250cabfe12 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -266,7 +266,10 @@ config CMD_XIMG
>  	  Extract a part of a multi-image.
>  
>  config CMD_POWEROFF
> -	bool
> +	bool "poweroff"
> +	default n
> +	help
> +	  Poweroff/Shutdown the system
>  
>  endmenu

n is the default, we don't need that.  Otherwise looks good, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170603/b552b0e6/attachment.sig>


More information about the U-Boot mailing list