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

Michal Simek michal.simek at xilinx.com
Mon May 29 07:06:50 UTC 2017


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
 
-- 
1.9.1



More information about the U-Boot mailing list