]> git.baikalelectronics.ru Git - uboot.git/commitdiff
qemu-arm: Enable DHCP distro target
authorAlexander Graf <agraf@suse.de>
Tue, 4 Sep 2018 11:49:29 +0000 (13:49 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 5 Sep 2018 20:01:22 +0000 (16:01 -0400)
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

index 913ff4f2636f1386de6e09086d4f5a3a695e0153..66729b7d4f6454a581657bb792c9bbaf42d0958e 100644 (file)
@@ -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>