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

Michal Simek michal.simek at xilinx.com
Mon Jun 5 06:28:17 UTC 2017


Add poweroff description to Kconfig to make it selectable
via menuconfig.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Remove default n value which doesn't need to be specified
- Add Simon's Reviewed-by:

 cmd/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 270cff6297d9..412bf24fb259 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -266,7 +266,9 @@ config CMD_XIMG
 	  Extract a part of a multi-image.
 
 config CMD_POWEROFF
-	bool
+	bool "poweroff"
+	help
+	  Poweroff/Shutdown the system
 
 endmenu
 
-- 
1.9.1



More information about the U-Boot mailing list