diff mbox series

qemu-arm: Enable DHCP distro target

Message ID 20180904114929.45701-1-agraf@suse.de
State Accepted
Commit c330235597c27eb51b0b3641ce4800906fc99af6
Headers show
Series qemu-arm: Enable DHCP distro target | expand

Commit Message

Alexander Graf Sept. 4, 2018, 11:49 a.m. UTC
When booting the QEMU virt machine with -net nic,model=e1000 we can already
support network boot just fine today.

So let's enable the default bootcmd to also evaluate DHCP responses properly.
That way we can enable network boot seamlessly with the virt target.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 include/configs/qemu-arm.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini Sept. 6, 2018, 1:45 p.m. UTC | #1
On Tue, Sep 04, 2018 at 01:49:29PM +0200, Alexander Graf wrote:

> When booting the QEMU virt machine with -net nic,model=e1000 we can already

> support network boot just fine today.

> 

> So let's enable the default bootcmd to also evaluate DHCP responses properly.

> That way we can enable network boot seamlessly with the virt target.

> 

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


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index 913ff4f263..66729b7d4f 100644
--- a/include/configs/qemu-arm.h
+++ b/include/configs/qemu-arm.h
@@ -30,7 +30,8 @@ 
 #define CONFIG_ENV_SIZE				SZ_64K
 
 #define BOOT_TARGET_DEVICES(func) \
-	func(SCSI, scsi, 0)
+	func(SCSI, scsi, 0) \
+	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>