Message ID | 66eb7492f9b6045378976f9bd06d84a0ff57c532.1496041608.git.michal.simek@xilinx.com |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show |
On 29 May 2017 at 01:06, Michal Simek <michal.simek@xilinx.com> wrote: > Add poweroff description to Kconfig to make it selectable > via menuconfig. > > Signed-off-by: Michal Simek <michal.simek@xilinx.com> > --- > > cmd/Kconfig | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass <sjg@chromium.org>
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@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!
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
Add poweroff description to Kconfig to make it selectable via menuconfig. Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- cmd/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)