[U-Boot] [PATCH] cmd: Relocate poweroff under Device access commands

Adam Ford aford173 at gmail.com
Sun Sep 9 12:05:57 UTC 2018


Previously poweroff was located under boot.  It seems to make more
sense to have it located under the Device access commands.

Signed-off-by: Adam Ford <aford173 at gmail.com>

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 13d4c991bf..56f70a7f6e 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -304,11 +304,6 @@ config CMD_XIMG
 	help
 	  Extract a part of a multi-image.
 
-config CMD_POWEROFF
-	bool "poweroff"
-	help
-	  Poweroff/Shutdown the system
-
 config CMD_SPL
 	bool "spl export - Export boot information for Falcon boot"
 	depends on SPL
@@ -937,6 +932,11 @@ config CMD_PCMCIA
 	  about 1990. These devices are typically removable memory or network
 	  cards using a standard 68-pin connector.
 
+config CMD_POWEROFF
+	bool "poweroff"
+	help
+	  Poweroff/Shutdown the system
+
 config CMD_READ
 	bool "read - Read binary data from a partition"
 	help
-- 
2.17.1



More information about the U-Boot mailing list