Skip to content
Commit 8a65bd63 authored by Alex Kiernan's avatar Alex Kiernan Committed by Marek Vasut
Browse files

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: default avatarAlex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 52fdf107
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment