[U-Boot] [PATCH v3 09/13] fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag

Simon Glass sjg at chromium.org
Mon May 14 19:52:36 UTC 2018


On 14 May 2018 at 03:09, Alex Kiernan <alex.kiernan at gmail.com> wrote:
> 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 at gmail.com>
> ---
>
> Changes in v3:
> - new
>
> Changes in v2: None
>
>  arch/arm/mach-omap2/boot-common.c     | 4 ++--
>  arch/arm/mach-rockchip/rk3128-board.c | 4 ++--
>  arch/arm/mach-rockchip/rk322x-board.c | 4 ++--
>  board/amazon/kc1/kc1.c                | 2 +-
>  board/lg/sniper/sniper.c              | 2 +-
>  drivers/fastboot/fb_common.c          | 5 +++++
>  drivers/usb/gadget/f_fastboot.c       | 7 +------
>  include/fastboot.h                    | 2 +-
>  8 files changed, 15 insertions(+), 15 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list