fastboot: Add default fastboot_set_reboot_flag implementation
authorRoman Kovalivskyi <roman.kovalivskyi@globallogic.com>
Tue, 28 Jul 2020 20:35:34 +0000 (23:35 +0300)
committerMarek Vasut <marex@denx.de>
Tue, 1 Sep 2020 12:47:43 +0000 (14:47 +0200)
commit0ebf9842e56c5b8cb7cb1f990bb452cc14af6225
treeebf946bbe1c92eadb323856ff9471b21732e85f2
parent2b2a771b40876c3db456705d5dcc5b60249d4075
fastboot: Add default fastboot_set_reboot_flag implementation

Default implementation of fastboot_set_reboot_flag function that depends
on "bcb" commands could be used in general case if there are no need to
make any platform-specific implementation, otherwise it could be
disabled via Kconfig option FASTBOOT_USE_BCB_SET_REBOOT_FLAG.

Please note that FASTBOOT_USE_BCB_SET_REBOOT_FLAG is mutually exclusive
with some platforms which already have their own implementation of this
function.

Signed-off-by: Roman Kovalivskyi <roman.kovalivskyi@globallogic.com>
drivers/fastboot/Kconfig
drivers/fastboot/Makefile
drivers/fastboot/fb_bcb_impl.c [new file with mode: 0644]
include/fastboot.h