[PATCH 10/19] commands: move CMD_AT91_BOOT_TEST to commands/Kconfig
Holger Schurig
holgerschurig at gmail.com
Tue May 13 01:28:50 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-at91/Kconfig | 6 ------
commands/Kconfig | 13 +++++++++++++
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index e3eeb2c..6222653 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -534,12 +534,6 @@ config CMD_AT91CLK
bool "at91clk dump command"
default y
-config CMD_AT91_BOOT_TEST
- bool "at91_boot_test"
- help
- allow to upload a boot binary to sram and execute it
- useful to test bootstrap or barebox lowlevel init
-
endif
config AT91_BOOTSTRAP
diff --git a/commands/Kconfig b/commands/Kconfig
index 0145f00..e48b2d1 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -180,6 +180,19 @@ config FLEXIBLE_BOOTARGS
to replace parts of the bootargs string without reconstructing it
completely.
+config CMD_AT91_BOOT_TEST
+ bool "at91_boot_test"
+ depends on ARCH_AT91
+ help
+ allow to upload a boot binary to SRAM and execute it.
+ Useful to test bootstrap or barebox lowlevel init.
+
+ Usage: at91_boot_test [-js] FILE
+
+ Options:
+ -j ADDR jump address
+ -s SRAM SRAM device (default /dev/sram0)
+
config CMD_BOOT_ORDER
tristate
depends on ARCH_OMAP4
--
1.7.10.4
More information about the barebox
mailing list