[PATCH 09/19] commands: move CMD_BOOT_ORDER to commands/Kconfig

Holger Schurig holgerschurig at gmail.com
Tue May 13 01:28:49 PDT 2014


* this places the command into the "Boot commands"
  section of Kconfig
* while at it, improve Kconfig documention

Signed-off-by: Holger Schurig <holgerschurig at gmail.com>
---
 arch/arm/mach-omap/Kconfig |    7 -------
 commands/Kconfig           |   12 ++++++++++++
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig
index 12b9c1f..201944c 100644
--- a/arch/arm/mach-omap/Kconfig
+++ b/arch/arm/mach-omap/Kconfig
@@ -107,13 +107,6 @@ config OMAP4_USBBOOT
 	  You need the utility program omap4_usbboot to boot from USB.
 	  Please read omap4_usb_booting.txt for more information.
 
-config CMD_BOOT_ORDER
-	tristate
-	depends on ARCH_OMAP4
-	prompt "boot_order"
-	help
-	  A command to choose the next boot device on a warm reset.
-
 config OMAP_MULTI_BOARDS
 	bool "Allow multiple boards to be selected"
 	select HAVE_DEFAULT_ENVIRONMENT_NEW
diff --git a/commands/Kconfig b/commands/Kconfig
index db091c4..0145f00 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -180,6 +180,18 @@ config FLEXIBLE_BOOTARGS
 	  to replace parts of the bootargs string without reconstructing it
 	  completely.
 
+config CMD_BOOT_ORDER
+	tristate
+	depends on ARCH_OMAP4
+	prompt "boot_order"
+	help
+	  Set warm boot order (the next boot device on a warm reset).
+
+	  Usage: boot_order DEVICE...
+
+	  Each device can be one of:
+	  xip xipwait nand onenand mmc1 mmc2_1 mmc2_2 uart usb_1 usb_ulpi usb_2
+
 config CMD_BOOT
 	tristate
 	select BOOTM
-- 
1.7.10.4




More information about the barebox mailing list