From patchwork Tue Sep 4 11:49:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 145922 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3563341ljw; Tue, 4 Sep 2018 04:49:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbDQSAslA8LCxaC3DPqUSoyzWleodzkm66ByBuYAGuJMzZ01OgKd+hbCBTXX44CHSNLORI+ X-Received: by 2002:a50:a38a:: with SMTP id s10-v6mr35579330edb.99.1536061776494; Tue, 04 Sep 2018 04:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536061776; cv=none; d=google.com; s=arc-20160816; b=hMdHUqcwDmv4P9QDJlGEg0xZAEQ9hFrF/1XjPcq/fKkLhCf/3GRAbvtb/uJlAnc2Sy MX1vO1SBKdd9E7yIsbjLlaRz8lx20ucoQ6Ga9DbzyYpIFAZ9Ks0XMrp01O7xhpso/wwR Y23clpN8ORYZzt942FovotJ3Lju0MbGXeBfYDjkACdBPiTYTJrF3qNnl0MJmVH1iiB1a VK2Kql6wr7AlASdX8Io43wl4C16Rx0mPz0G5I7hH6beYFs+okgTG6A1tQy1/pb+qS5L5 EgFMI2SRWNf3pGCFXZ3GJeSPqjoJYSj30UG67wT0T6ZSqPztza1Qd8tSbbzF+mAgK6S/ GpnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from :arc-authentication-results; bh=helr5VAQM0LYldsM2fC6sSI4upoAZew7mESEZnzx8PQ=; b=JY+Ys/i5NQETbfU0HzudUntUgBewMEgCa2yFiIatmezozjz+jOCXJoy28DRaLsOnlE 1eZtX5avWbvtX5s0HxYPvNJBEE/6/txHG7WbD7n535mFih1t3zLZtvnV4YT9wIZ1h6Ph Oxift+bpk9hqRLWE4QMnNeDkv5OT6/lG9SOYnJpDeskjpnKEiunTaeX3/HcGL/7i/UET yp+dRLETJfUTsR4LlhcIZH6E3q4TbuH+aIwH4BCyi53WEGjd7RJubME28/pxUTHVugPW roaRobKvO9YrMmEYs3Y0MV4BpjLAE8EOpvTQUw2YpGEIeZ1AM0TXrsYkD/H/9RfZiL1F BVfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id g5-v6si738356edh.109.2018.09.04.04.49.35; Tue, 04 Sep 2018 04:49:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id BF9BBC21F04; Tue, 4 Sep 2018 11:49:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 76DDBC21D65; Tue, 4 Sep 2018 11:49:32 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9ECE9C21D65; Tue, 4 Sep 2018 11:49:30 +0000 (UTC) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 50764C21C50 for ; Tue, 4 Sep 2018 11:49:30 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B30C0AF74; Tue, 4 Sep 2018 11:49:29 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Tue, 4 Sep 2018 13:49:29 +0200 Message-Id: <20180904114929.45701-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 Subject: [U-Boot] [PATCH] qemu-arm: Enable DHCP distro target X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- include/configs/qemu-arm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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