[3/3] ARM: qemu-arm: enable USB boot in distro boot with UEFI

Message ID 20181012050909.7009-4-takahiro.akashi@linaro.org
State New
Headers show
Series
  • uefi: support USB boot in distro boot
Related show

Commit Message

AKASHI Takahiro Oct. 12, 2018, 5:09 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 Oct. 16, 2018, 1:22 p.m. | #1
On 12.10.18 07:09, 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>

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


Alex

Patch

diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index 0e66f946dde5..395cb911f5fe 100644
--- a/include/configs/qemu-arm.h
+++ b/include/configs/qemu-arm.h
@@ -45,6 +45,7 @@ 
 #define CONFIG_ENV_SECT_SIZE		SZ_1M
 
 #define BOOT_TARGET_DEVICES(func) \
+	func(USB, usb, 0) \
 	func(SCSI, scsi, 0) \
 	func(DHCP, dhcp, na)