All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH][PATCH] sunxi: Properly announce BOOT_DEVICE_BOARD as "FEL"
@ 2016-04-03 11:58 Bernhard Nortmann
  2016-05-15 10:04 ` [U-Boot] " Hans de Goede
  0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Nortmann @ 2016-04-03 11:58 UTC (permalink / raw)
  To: u-boot

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 <bernhard.nortmann@web.de>
---

 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)
 {
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] sunxi: Properly announce BOOT_DEVICE_BOARD as "FEL"
  2016-04-03 11:58 [U-Boot] [PATCH][PATCH] sunxi: Properly announce BOOT_DEVICE_BOARD as "FEL" Bernhard Nortmann
@ 2016-05-15 10:04 ` Hans de Goede
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2016-05-15 10:04 UTC (permalink / raw)
  To: u-boot

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 <bernhard.nortmann@web.de>

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)
>  {
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-15 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-03 11:58 [U-Boot] [PATCH][PATCH] sunxi: Properly announce BOOT_DEVICE_BOARD as "FEL" Bernhard Nortmann
2016-05-15 10:04 ` [U-Boot] " Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.