]> git.sur5r.net Git - u-boot/commit
fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag
authorAlex Kiernan <alex.kiernan@gmail.com>
Tue, 29 May 2018 15:30:46 +0000 (15:30 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 30 May 2018 09:59:21 +0000 (11:59 +0200)
commit8a65bd63720b813d8082a2c14bdde5ade4673d87
tree9335ff5e55bbfdd033db7f086d8ced1a8b874b23
parent52fdf10708ef8022117c803609e85f295ad753c6
fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag

Rename fb_set_reboot_flag to fastboot_set_reboot_flag so it matches
all other fastboot code in the global name space. Fix the guards around
them so that they're dependent on FASTBOOT, not just USB_FUNCTION_FASTBOOT.

Move the weak implementation of fastboot_set_reboot_flag to fb_common.c
so we can call it from non-USB fastboot code.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
arch/arm/mach-omap2/boot-common.c
arch/arm/mach-rockchip/rk3128-board.c
arch/arm/mach-rockchip/rk322x-board.c
board/amazon/kc1/kc1.c
board/lg/sniper/sniper.c
drivers/fastboot/fb_common.c
drivers/usb/gadget/f_fastboot.c
include/fastboot.h