aboutsummaryrefslogtreecommitdiff
path: root/include/configs/qemu-arm.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2018-09-04 13:49:29 +0200
committerTom Rini <trini@konsulko.com>2018-09-05 16:01:22 -0400
commitc330235597c27eb51b0b3641ce4800906fc99af6 (patch)
treefd0bc21cc57f2ec7ead11c371825f19a2c04be41 /include/configs/qemu-arm.h
parent548c35ff6e42c39657f7980e21b604b3d79eb17f (diff)
downloadu-boot-c330235597c27eb51b0b3641ce4800906fc99af6.zip
u-boot-c330235597c27eb51b0b3641ce4800906fc99af6.tar.gz
u-boot-c330235597c27eb51b0b3641ce4800906fc99af6.tar.bz2
qemu-arm: Enable DHCP distro target
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>
Diffstat (limited to 'include/configs/qemu-arm.h')
-rw-r--r--include/configs/qemu-arm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index 913ff4f..66729b7 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>