summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-07-20 16:25:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-07-26 08:31:35 +0200
commit89c8ac578f309eb2d9aa86e9c507d2fa117d0308 (patch)
tree4d5242732ca20d4a914af7dd7e395f4d93620e4f /commands/Kconfig
parented71dfbbc578173fb2fe8eb6d4bb293c9c320954 (diff)
downloadbarebox-89c8ac578f309eb2d9aa86e9c507d2fa117d0308.tar.gz
barebox-89c8ac578f309eb2d9aa86e9c507d2fa117d0308.tar.xz
boot: Move code to common/
Normally code in commands/ shall only do the option parsing whereas the functionality shall be in common/ to make the code usable from C aswell. Do this in the boot code aswell, move it to common/boot.c and add the function prototypes to include/boot.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 3a0977b980..0685664576 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -294,6 +294,7 @@ config CMD_BOOT_ORDER
config CMD_BOOT
tristate
depends on BOOTM
+ select BOOT
prompt "boot"
help
Select this for booting based on scripts. Unlike the bootm command which