diff mbox

[U-Boot] spl: define BOOT_DEVICE_USB

Message ID 1454395513-3257-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 494456bc674d8543bd8d4dcf47347a0cc992d87c
Headers show

Commit Message

Masahiro Yamada Feb. 2, 2016, 6:45 a.m. UTC
This macro is referenced from common/spl/spl.c

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arm/include/asm/spl.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Masahiro Yamada Feb. 2, 2016, 9:32 a.m. UTC | #1
Hi Tom,

I want to use this patch as a prerequisite of my next patch series.

This patch is trivial enough, so can you apply it to u-boot/master soon?

Or, may I include this in my series?


2016-02-02 15:45 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> This macro is referenced from common/spl/spl.c
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  arch/arm/include/asm/spl.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/include/asm/spl.h b/arch/arm/include/asm/spl.h
> index 5c5d33f..19c38f4 100644
> --- a/arch/arm/include/asm/spl.h
> +++ b/arch/arm/include/asm/spl.h
> @@ -24,6 +24,7 @@ enum {
>         BOOT_DEVICE_NOR,
>         BOOT_DEVICE_UART,
>         BOOT_DEVICE_SPI,
> +       BOOT_DEVICE_USB,
>         BOOT_DEVICE_SATA,
>         BOOT_DEVICE_I2C,
>         BOOT_DEVICE_BOARD,
> --
> 1.9.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Albert ARIBAUD Feb. 2, 2016, 10:03 a.m. UTC | #2
Hello Masahiro,

On Tue,  2 Feb 2016 15:45:13 +0900, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> This macro is referenced from common/spl/spl.c

Nitpick: not a macro, but an enum value.

Amicalement,
Masahiro Yamada Feb. 2, 2016, 10:21 a.m. UTC | #3
2016-02-02 19:03 GMT+09:00 Albert ARIBAUD <albert.u.boot@aribaud.net>:
> Hello Masahiro,
>
> On Tue,  2 Feb 2016 15:45:13 +0900, Masahiro Yamada
> <yamada.masahiro@socionext.com> wrote:
>> This macro is referenced from common/spl/spl.c
>
> Nitpick: not a macro, but an enum value.
>
> Amicalement,

Albert,

Thanks!  I've posted v2.
diff mbox

Patch

diff --git a/arch/arm/include/asm/spl.h b/arch/arm/include/asm/spl.h
index 5c5d33f..19c38f4 100644
--- a/arch/arm/include/asm/spl.h
+++ b/arch/arm/include/asm/spl.h
@@ -24,6 +24,7 @@  enum {
 	BOOT_DEVICE_NOR,
 	BOOT_DEVICE_UART,
 	BOOT_DEVICE_SPI,
+	BOOT_DEVICE_USB,
 	BOOT_DEVICE_SATA,
 	BOOT_DEVICE_I2C,
 	BOOT_DEVICE_BOARD,