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>
1 parent ed71dfb commit 89c8ac578f309eb2d9aa86e9c507d2fa117d0308
@Sascha Hauer Sascha Hauer authored on 20 Jul 2016
Showing 6 changed files
View
commands/Kconfig
View
commands/boot.c
View
common/Kconfig
View
common/Makefile
View
common/boot.c 0 → 100644
View
include/boot.h