fastboot: add support for continue command
authorRob Herring <robh@kernel.org>
Wed, 10 Dec 2014 20:43:04 +0000 (14:43 -0600)
committerLukasz Majewski <l.majewski@samsung.com>
Thu, 18 Dec 2014 11:26:06 +0000 (12:26 +0100)
commit267abc626da609560aecab83e06b187954974ba6
treec9ba44bf6299876d23b1f5b0dde5c612c55d6ace
parentfe1b28c9f0954047f20b20253596b5ca9aef4a32
fastboot: add support for continue command

The fastboot continue command is defined to exit fastboot and continue
autoboot. This commit implements the continue command and the exiting of
fastboot only. Subsequent u-boot commands can be processed after exiting
fastboot. Autoboot should implement a boot script such as "fastboot; mmc
read <...>; bootm" to fully implement the fastboot continue function.

Signed-off-by: Rob Herring <robh@kernel.org>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
[TestHW: Exynos4412-Trats2]
common/cmd_fastboot.c
drivers/usb/gadget/f_fastboot.c