From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 14 May 2018 13:52:36 -0600 Subject: [U-Boot] [PATCH v3 09/13] fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag In-Reply-To: <1526288948-24977-10-git-send-email-alex.kiernan@gmail.com> References: <1526288948-24977-1-git-send-email-alex.kiernan@gmail.com> <1526288948-24977-10-git-send-email-alex.kiernan@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14 May 2018 at 03:09, Alex Kiernan 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 > --- > > 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