[RESEND,2/2] ARM: qemu-arm: enable USB boot in distro boot with UEFI

Message ID 20181214095322.9592-1-takahiro.akashi@linaro.org
State New
Headers show
Series
  • Untitled series #17260
Related show

Commit Message

AKASHI Takahiro Dec. 14, 2018, 9:53 a.m.
With this patch which adds a removable USB mass storage to a list
of bootable devices, USB boot is supported in distro boot if UEFI is
configured.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
---
 include/configs/qemu-arm.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Alexander Graf Dec. 23, 2018, 2:26 a.m. | #1
On 14.12.18 10:53, AKASHI Takahiro wrote:
> With this patch which adds a removable USB mass storage to a list
> of bootable devices, USB boot is supported in distro boot if UEFI is
> configured.
> 
> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>

Reviewied-by: Alexander Graf <agraf@suse.de>


Alex

> ---
>  include/configs/qemu-arm.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
> index fedc4662fa18..392839f7ad59 100644
> --- a/include/configs/qemu-arm.h
> +++ b/include/configs/qemu-arm.h
> @@ -24,6 +24,7 @@
>  #define CONFIG_ENV_SIZE				SZ_64K
>  
>  #define BOOT_TARGET_DEVICES(func) \
> +	func(USB, usb, 0) \
>  	func(SCSI, scsi, 0) \
>  	func(DHCP, dhcp, na)
>  
>

Patch

diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index fedc4662fa18..392839f7ad59 100644
--- a/include/configs/qemu-arm.h
+++ b/include/configs/qemu-arm.h
@@ -24,6 +24,7 @@ 
 #define CONFIG_ENV_SIZE				SZ_64K
 
 #define BOOT_TARGET_DEVICES(func) \
+	func(USB, usb, 0) \
 	func(SCSI, scsi, 0) \
 	func(DHCP, dhcp, na)