diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-22 13:09:07 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-30 07:45:04 +0200 |
commit | 28141f9e5a465571cf79505b2fd4b9ae207b9ce3 (patch) | |
tree | e87467cc448b9e833a581c7593c03e36f2f3cee9 /commands/Kconfig | |
parent | 5a968fc81cf1f922733349469072b278efcc6806 (diff) | |
download | barebox-28141f9e5a465571cf79505b2fd4b9ae207b9ce3.tar.gz barebox-28141f9e5a465571cf79505b2fd4b9ae207b9ce3.tar.xz |
defenv-2: replace boot script with command
This replaces the 'boot' script in the defaultenv-2 with a command
with the same behaviour. A command gives more flexibility for future
externsions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index 55e46a0392..9738ec4630 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -514,6 +514,17 @@ config CMD_LINUX16 Compile the linux16 command to be able to boot bzImages via real mode. +config CMD_BOOT + tristate + select BOOTM + prompt "boot" + help + Select this for booting based on scripts. unlike the bootm command which + can boot a single image this command offers the possibility to boot with + scripts (by default placed under /env/boot/). This command iterates over + multiple scripts until one succeeds. It supersedes the previous 'boot' + script. + config CMD_RESET tristate prompt "reset" |