From patchwork Mon Nov 12 09:59:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 150812 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2949605ljp; Mon, 12 Nov 2018 01:59:50 -0800 (PST) X-Google-Smtp-Source: AJdET5eGBaKb+0pMwxUPEb9/qA391tj96L+47AF+t+P/ZxfdQjZc3PtdQ+g52QjOgMLoGGRVxMp/ X-Received: by 2002:a17:906:7f89:: with SMTP id f9-v6mr8836879ejr.51.1542016790657; Mon, 12 Nov 2018 01:59:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542016790; cv=none; d=google.com; s=arc-20160816; b=Aonb653u9Ecy2pF/2WV6Mr+fUrWUxmhjub4FifuJGotQIEiPpeYnPaHaC1C61Wr+s2 jQf6QT9XP/x2I1mOTmJKUBXQ4zzxf9aDjbPADjeHtM7LZtkj20bqGjK5b+lxsTYIlWfC chzk++9kcHFi8nZnS6lp0NN8hTOTOfAkrF0i1IiFANWtr7EfRwtZtxP07SsvnRlLGsHe sREQm0/b4glrBx2lY1JEjKKK4TcLwNzkV9fQBje8loGpEFKI5FdOSgi05EScO2Fzm1u+ BI4i4KrUZgxuYu8joxI38wsrLFtkWuHp8zdKSdvkh6MqAXLnf4GiYLRqg7dUCj5npx5R rJqA== 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:cc:message-id:date:to:from :dkim-signature; bh=1HCbhlnqwPqLb69sAJehx10JupHspHtPqR/Vaba81rI=; b=dROpMYQpayZd8iS/jtUPKA1UANlgKxjDfBXuzhDSTzonEHpZRk3gNG3P+Wv+rFafq/ L03Kpop5JuVtTcJZu40Gie2OH8wz/ifC6pRCv6XjvehHBPZSQ2G6B8cb3j8rPW0fQepk +WZ8JNki6IOoNpwzk9OkReFonzBujenXboRsaFDzSosjKJa83yH8eOxeM3as/6CPoPJK +oUFmuXpvwTCv/Sw6ozUfKYTCCSxJ8o9JqBEtX/1/iqnxopyVn9B1HPd8BvSLAB6UrkU 5lX1F1QRiZYfMuOe9EUGDHI81YJyWMMuhdDYQ6LwIAm5Z2WaqRqW+UABEqvMWq1qY38/ Vr6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ij4CX85L; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id f7-v6si4229932ejo.126.2018.11.12.01.59.49; Mon, 12 Nov 2018 01:59:50 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ij4CX85L; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id A937EC223D7; Mon, 12 Nov 2018 09:59:44 +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=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID 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 30910C223C3; Mon, 12 Nov 2018 09:59:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A1CD9C223C3; Mon, 12 Nov 2018 09:59:40 +0000 (UTC) Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by lists.denx.de (Postfix) with ESMTPS id 4E41FC223B4 for ; Mon, 12 Nov 2018 09:59:39 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id y4so3832079pgc.12 for ; Mon, 12 Nov 2018 01:59:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=eByW9myqoipeA/Xp0J9S5Y/d0C2duDRzRqY/5Ru+8gI=; b=ij4CX85LIKHdcwVOCahGUtQm+46fK1cWrvVDuJnxFJEEOQq3o9US+pMUFEjCFD1NOf RT8dG7994gGP+HFAwOdBitW2qxXa/ZZ1qBTGVAXODWAtt06LG8o1heLvj0hWAACuS3lU Hw8cPjYTLhcgnXJNpqw+We3IBq4kZPYTzitOQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eByW9myqoipeA/Xp0J9S5Y/d0C2duDRzRqY/5Ru+8gI=; b=nAp5Ib9kVmZyvyyqvoZDV3yI0w1oHjaE3Aj/FcV6+5d9MZHbLT94Rg8xCh2bhZjrqH 5ubey6wsJsm5IMItxdihqO/SYScrd4chT5eTPfJ/bue+ddjaTGrjc0JM5wTdL4XFL+Pu zrsVpiZ+lfP5q30T67UDTN04KcWaVjs35m0zE44xXz1Zw9+l3l7US/xCdJ/lWOD0D/3J /WiDjUM3oJBWeox3u9Ei7WWWQI9ijix3muu08ikifj5aTLyjr3CiFc2k0EkJ0GYfZoqq Pm5oJKX7B/UOWFvFnET+iIocaRdvAUEsxu3HQhM/kG289uoW+N6DItg6r8m54B502UWC 6WSg== X-Gm-Message-State: AGRZ1gKzfZ493bRc2ohvgrpkQq/8nEvKq/ZmiA1YIAZI3LL8KXRkJ3Pe liWR3iFk/hIw91/Tn82v8l40fzIMekE= X-Received: by 2002:a65:64d5:: with SMTP id t21-v6mr260615pgv.428.1542016777495; Mon, 12 Nov 2018 01:59:37 -0800 (PST) Received: from localhost.localdomain ([117.252.66.84]) by smtp.gmail.com with ESMTPSA id d65-v6sm21631239pfc.144.2018.11.12.01.59.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Nov 2018 01:59:37 -0800 (PST) From: Sumit Garg To: u-boot@lists.denx.de Date: Mon, 12 Nov 2018 15:29:08 +0530 Message-Id: <1542016748-15974-1-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 Cc: agraf@suse.de Subject: [U-Boot] [PATCH] qemu-arm: Enable VirtIO 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" With -device virtio-blk-device,drive=hd0, it could detect distro boot target. Signed-off-by: Sumit Garg --- Depends on https://patchwork.ozlabs.org/patch/995524/ which adds VirtIO distro boot command. 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 fedc466..437c3ae 100644 --- a/include/configs/qemu-arm.h +++ b/include/configs/qemu-arm.h @@ -25,7 +25,8 @@ #define BOOT_TARGET_DEVICES(func) \ func(SCSI, scsi, 0) \ - func(DHCP, dhcp, na) + func(DHCP, dhcp, na) \ + func(VIRTIO, virtio, 0) #include