From: Hans de Goede Date: Sun, 15 May 2016 12:04:43 +0200 Subject: [U-Boot] sunxi: Properly announce BOOT_DEVICE_BOARD as "FEL" In-Reply-To: <1459684680-16779-1-git-send-email-bernhard.nortmann@web.de> References: <1459684680-16779-1-git-send-email-bernhard.nortmann@web.de> Message-ID: <5eca2017-83f6-39b8-53c0-a82f18dd5c9e@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 03-04-16 13:58, Bernhard Nortmann wrote: > This addresses a cosmetic issue when booting a sunxi device > over USB (FEL mode), where the SPL currently would just print > "Trying to boot from ". The patch fixes that to properly read > "Trying to boot from FEL". > > Signed-off-by: Bernhard Nortmann Thanks, looks good to me applied to: http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=shortlog;h=refs/heads/next This will be part of my first pull-req for u-boot v2016.07. Regards, Hans > --- > > arch/arm/mach-sunxi/board.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c > index 20149da..bd15b9b 100644 > --- a/arch/arm/mach-sunxi/board.c > +++ b/arch/arm/mach-sunxi/board.c > @@ -247,6 +247,15 @@ u32 spl_boot_device(void) > return -1; /* Never reached */ > } > > +/* > + * Properly announce BOOT_DEVICE_BOARD as "FEL". > + * Overrides weak function from common/spl/spl.c > + */ > +void spl_board_announce_boot_device(void) > +{ > + printf("FEL"); > +} > + > /* No confirmation data available in SPL yet. Hardcode bootmode */ > u32 spl_boot_mode(void) > { >