From patchwork Fri Oct 12 05:09:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 148706 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp309083lji; Thu, 11 Oct 2018 22:09:49 -0700 (PDT) X-Google-Smtp-Source: ACcGV61QMs5kRmGvmEGK4uUA6Y79XfpnFqwLDEtw6BeexpQhvRY2GAFX4TL3L+ePR7F4qFKQkV6w X-Received: by 2002:a50:8ba2:: with SMTP id m31-v6mr7034563edm.260.1539320989801; Thu, 11 Oct 2018 22:09:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539320989; cv=none; d=google.com; s=arc-20160816; b=HLFG6aakgfJH2dEGgt8PH1FHTcFmZZlht/1iayYk03NUFIkpPgfSpd/0EccJFr8ZZ7 6ayaRmHdnlHcVFv2s2pEuHBard7qbrp2gtq+Bgdm6EMEP8nx69hSShB4Wo+BNqUAdKSO +lJiABdN5W+ok1AAl81+sWjQxq9XPeGxOc5UBYiUXHXcUixHgq4wuO3cFGOldsy/drr5 0p0nBhGZDiEtg4w4YTB6oDwDgD2R357z378ExirYFt2yQu3LQ2mcZTimv1GbMHWavl/g Mko/ju/uj9kBY04a/7uea6FOQrcOxNjffvx5pMjYyCW/opRK6NeFthU19W2WHM2BH4lJ zlMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature; bh=9TTc4BEZsVgoDc2NeRH0t03qqG5yKPjgJTMLq783O/M=; b=PO/DinZyHtWZABJEzamrgNDtZbIFZ6qpjyuO0JPtHf1QAcKv+ZHlfN9xlgMptwKfhL SvnECwdqMV3mOzhuSc+NRqo8cYYhggkG6DHGGAgZYslcYwohCAL2pgUXfcasZykXHMZJ BEgCpyQbSojOZuYyo1bBHsuTaE+rmcou8183vkJJZrEUn9PlYsWHHYTZJlisGn3rTiwO n6s8rLmnXg78h91c1e7cOd7CepUEx+kmtvyFvsZ0cep8C5qGsYR3RZ06ntRfYPQEJiew M27UVJzSb2JNYD+Ji8NX85RYIqYusJelflUYI1ABZSXqba4A7KNRoYWwq7tIaugTqP+q 16pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PT4fP0nG; 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 h91-v6si386840edd.102.2018.10.11.22.09.49; Thu, 11 Oct 2018 22:09:49 -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; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PT4fP0nG; 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 66E79C21E12; Fri, 12 Oct 2018 05:08:26 +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_DNSWL_BLOCKED, 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 42963C21DAF; Fri, 12 Oct 2018 05:08:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C823BC21DEC; Fri, 12 Oct 2018 05:07:52 +0000 (UTC) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by lists.denx.de (Postfix) with ESMTPS id E7476C21C8B for ; Fri, 12 Oct 2018 05:07:48 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id k19-v6so5569049pfi.1 for ; Thu, 11 Oct 2018 22:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YZFUZUfYb54YDmsfNjMhRtjN93xqBnwvDw6hixD6nxE=; b=PT4fP0nGwAfu5NjlrFb1nAcSle8Gz4eAYwsvsl3o9ppg947CLQ4q3vTXVv7S1Yg38p BBH7hpC0bUZ0ugZfwJ3Bw4UMiU4kXjIsWsy+YXDC9LCwPRbEvMKGdBE3/v7Wgc8SF4Dr KA5M0NU0mQ5rFvWvD+avphWO2PYbznY5DJlZ8= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=YZFUZUfYb54YDmsfNjMhRtjN93xqBnwvDw6hixD6nxE=; b=KejIM9mpkKeiL2g4snvxc43nqZvcsqjPXsTvNdYFJxeXR3edmu6DgHXbSj7jNLGkL9 GYRDu1Kwk05yE24iCDJqR9GnvMtyM/M4mhrshTsMu38t5hAEoWLHLzIi2UUkN8LzXPc0 OHpStiSlwCU/+QF91PdOhjhDBqw+A4REshbnFKkrX9BsV/QBIwWhPfok7703IdMbzi2b i1e3eyqc6cRrsojggdjyTV5O+ZgqS8Xf1PCDQDgsYAy82YBDWLFBZzn6Wsr9wncR9WEo 6Z/usJqfBShLt7AXM6mfn+77FU3HGIcqkCFypCJRI4xftF+zRqrXb0mII0whmm8PGOTZ wayg== X-Gm-Message-State: ABuFfoi9VqSv0Kk9u/5Kn+mjVmiiMvInEwiKB4GXQjGJX4DRVnS6mj1I vjanrzPw/7wNRynBeqVDf4Rtlw== X-Received: by 2002:a62:70c7:: with SMTP id l190-v6mr4515812pfc.186.1539320867550; Thu, 11 Oct 2018 22:07:47 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id j19-v6sm121696pfi.137.2018.10.11.22.07.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 22:07:46 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com, agraf@suse.de Date: Fri, 12 Oct 2018 14:09:07 +0900 Message-Id: <20181012050909.7009-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181012050909.7009-1-takahiro.akashi@linaro.org> References: <20181012050909.7009-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 1/3] efi_loader: support USB boot in distro boot script 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" With this patch, a removable USB mass storage device attached to the system will also be scanned to find and boot an EFI binary (that is BOOTEFI_NAME, see config_distro_bootcmd.h). Signed-off-by: AKASHI Takahiro --- include/config_distro_bootcmd.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index 76e12b7bf4ee..dd47e27d6835 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -26,7 +26,12 @@ */ #define BOOTENV_SHARED_BLKDEV_BODY(devtypel) \ - "if " #devtypel " dev ${devnum}; then " \ + "if test " #devtypel " = usb ; then " \ + "if " #devtypel " info ${devnum}; then " \ + "setenv devtype " #devtypel "; " \ + "run scan_dev_for_boot_part; " \ + "fi;" \ + "elif " #devtypel " dev ${devnum}; then " \ "setenv devtype " #devtypel "; " \ "run scan_dev_for_boot_part; " \ "fi\0" From patchwork Fri Oct 12 05:09:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 148704 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp308203lji; Thu, 11 Oct 2018 22:08:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV60dUsJuO1YO7lkMJQ3/zXYU+h7yZYKXxNgMr/uZGDOZ9zNxQ+SHdoDrTVAP/17c7Wdq4WUX X-Received: by 2002:a05:6402:1541:: with SMTP id p1mr6526043edx.104.1539320915209; Thu, 11 Oct 2018 22:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539320915; cv=none; d=google.com; s=arc-20160816; b=s2JvIR44imiVy0RG68B35M+twC+DomEx/cD+UjQrRnvbOWUy2gXCVqaEoVrXIF14+E A0tXUcdO8nOTrG0KYaopZpA+WP5XsBs5Xnt9ctJEHU2k2Ga4RDq4CbwcygRYZ13juuoB iJH2cOx2UQNdCceAJScS79ijoj9oJPfQ0FianWn8EAt5O7sXowGmkg+SnlDbE1WAJ4O+ ycBTf1SRrE1UWJGb4TkwgZjNY1++2gA/PQSTSaQY/gTHRE9wutgs+QB1fFOwl8gcJaoy 7iuuIC6N6HnK+QZObz6f1fzWAQPH20tc+OcUmAbBqUt8N9ypSLVtRzyJJin+hg6lADCx hIbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature; bh=1IDlkPmmAL0Nu8pSFp9pN9csZmumVWFhbSDaTiXMqQ8=; b=hyhVQppkHmetQOqf/TozvvX7HF06v8iuCsyUT1lm0nSeWmQVOsdGxOLcJEfI3B5n56 OL0ykbfI7nkDKIaFZG9DLUdq5KGEWZ9Pg1uWtai6ZE6r2GyPysm/I1FkWyet8DunUcIu d2d4PsWudshIGdj7N1kjcqLMCl9oa0M8j2eix9ZcqN8Art8RVsiHoRJhkEtOIyJk0Dpz SWHw/Ls2+N3zMFxx48ljD2PgtqVKMeOrQvMsUMD3UtOrVWhmmBGzj08VpaxyPtPAEtEu pXmFV5K1gQ95LnqQm34JyCMRKYw7eDheX88hNVnjxef8/dsy4FPnMPFGFKnARjYGjcYO KXfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HUqv8Gmw; 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 p15si9992edy.65.2018.10.11.22.08.34; Thu, 11 Oct 2018 22:08:35 -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; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HUqv8Gmw; 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 8234BC21DED; Fri, 12 Oct 2018 05:08:04 +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_DNSWL_BLOCKED, 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 0072BC21DED; Fri, 12 Oct 2018 05:08:02 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D1837C21D74; Fri, 12 Oct 2018 05:07:58 +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 EE830C21BE5 for ; Fri, 12 Oct 2018 05:07:54 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id 80-v6so5239933pgh.10 for ; Thu, 11 Oct 2018 22:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=x5xuzOKNTu+o2DZtUxRLQU3OlYKrqBtCneApBqYiCdU=; b=HUqv8GmwLfC07YnfZrpPwJ6DDaoYda2cjEPhBl6IX/Xw4+FWW8yxyPaRxBio5WG1pa 8BlhX7D2aI5kfD90nHAo6d3yJ3MqMkhpCebI31tMVXDb/bbcLLbA5sYAryIG7hh5v6MW lhE+Z2N751qVwr3ibLX8KpqkUWLz2lQCa0ATE= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=x5xuzOKNTu+o2DZtUxRLQU3OlYKrqBtCneApBqYiCdU=; b=WzYCGNDuxPo41IiKdQ8zY7v6NMPgN3dCwjL8CY8GU2TyA2GgQs9uGONfgY4MoY9ieA hWWU+aLriZkNh/+TW/3dnCBkKpupuFp6lkR8ziMCWXIkHNtydmjpAKxSVSvbADvU9RYu HTPFov5ijxWfFwCw+Jjd0BeVCp+ONtzKgwLgRM2IKY8Q0fMqMWFQZV4HqwN7EKABiCvU XmGdrYQJOq8EXXKORkYngU8DosYJSK27H78os1T+PD2drt+8x4SBFcAB1RR27GKszTlQ xqAeo6xEzLm6CvOeIxv4i/wQjYKCVvUfL9HZDRVrTn/ghCMNcWeqnqQG/IenYvuQVG9k 9Yxw== X-Gm-Message-State: ABuFfoiyWgykXbqhQzwuGfQX/OIZrr/9j4hGVUPFfoL9DLamtANU4UHF W0PhayfMCNlB4KX3rklLGV19Zw== X-Received: by 2002:a62:fc13:: with SMTP id e19-v6mr4597626pfh.101.1539320873529; Thu, 11 Oct 2018 22:07:53 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id e22-v6sm142892pfi.61.2018.10.11.22.07.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 22:07:52 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com, agraf@suse.de Date: Fri, 12 Oct 2018 14:09:08 +0900 Message-Id: <20181012050909.7009-3-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181012050909.7009-1-takahiro.akashi@linaro.org> References: <20181012050909.7009-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 2/3] ARM: qemu-arm: enable usb mass storage in default configuration 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This is a preparatory patch so that USB boot will be supported in distro boot script by default. Signed-off-by: AKASHI Takahiro --- configs/qemu_arm64_defconfig | 1 + configs/qemu_arm_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig index 7fd726fdda35..91c97181ab9f 100644 --- a/configs/qemu_arm64_defconfig +++ b/configs/qemu_arm64_defconfig @@ -32,3 +32,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y +CONFIG_USB_STORAGE=y diff --git a/configs/qemu_arm_defconfig b/configs/qemu_arm_defconfig index fbceaf3c52f3..4f4f9b791415 100644 --- a/configs/qemu_arm_defconfig +++ b/configs/qemu_arm_defconfig @@ -32,3 +32,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y +CONFIG_USB_STORAGE=y From patchwork Fri Oct 12 05:09:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 148705 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp309019lji; Thu, 11 Oct 2018 22:09:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV63Z2RzA5z3+W0Dc8cVvTGOShZtB48jYs1ixLrYk0lb2b7ZnMc2nlTJhFoRKR+wf9y/aVBee X-Received: by 2002:a17:906:7298:: with SMTP id b24-v6mr5456381ejl.16.1539320983478; Thu, 11 Oct 2018 22:09:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539320983; cv=none; d=google.com; s=arc-20160816; b=bUquOuZZbUmpgzpzhm5wiPvyMLyPQsSgRBUc93/NxP6SLjwnd8hcHekMmeTm9nl9Fy +N3oSZ5cdm3MfOeONPQFEfO6OPgv95kgzFDbBLxJjGWzSh70jWt0fESJ7DEwZJagesWN yexUdMALLM2L7iMKzdM74zjFqA5tONjK+vt2jW/p+rI8S65P6k9pj1YMztq5jDr82y6f 9XkQAG1kqw61LL0s7JFWH0IDM6/zQTWu4k7DNZrYzG4Toz6AXV3fX9xQGQoJ5wHH09wo jwHsrT4Sl1loBQiuiLdRpyaRHbMcNVKQMeWSkipavMbFsJlawBe5Lfj5urMmb6YEaCu2 VEQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature; bh=BdGi608casd+8PKEYba23bGSFXp9/k2xAhue+g2jEXM=; b=GJm8LaX5WyoW81sn0MwpVDNPjyeWUFXEZ4c6tgL67Jmguuym1g97Q6Ir2NaYHv9UXr RPyQjG0SnHWSKu312Qw9gBaUmWiXD/QZJ5AauXu9icPktGBD9myLaVbWQMmaqkpDE2mT 3izQrR5UU21r4MXosUkjiQchUGwxJXvUP04eYDSEhhNDIA8SeflLUmHy1kalkcWEtzbN 62wJmJgvyC1LH/SluoxCgILZqfefHvSxZKiUPoQYQNv+HYDH3ybDgNRWJ3JlpBt58ebb DL9OxMdJOz/eT4AVQ6AfzFnJwrPri22gnjow1qNkWB2xMlG36oohA+jCsXMKhJk2uXaL EQZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Kx98TOHD; 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 a29-v6si324393ejn.126.2018.10.11.22.09.43; Thu, 11 Oct 2018 22:09:43 -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; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Kx98TOHD; 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 EBBC8C21E1A; Fri, 12 Oct 2018 05:09:05 +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_DNSWL_BLOCKED, 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 53770C21E13; Fri, 12 Oct 2018 05:09:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 67476C21E15; Fri, 12 Oct 2018 05:08:01 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by lists.denx.de (Postfix) with ESMTPS id 6C2B8C21C29 for ; Fri, 12 Oct 2018 05:07:59 +0000 (UTC) Received: by mail-pf1-f182.google.com with SMTP id l81-v6so5564928pfg.3 for ; Thu, 11 Oct 2018 22:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xMLfzFXaoFAsnVlRba2TbAcnYXbTDPeZYeHogLWcM1g=; b=Kx98TOHDljaClXVQf7Khr1KCkfZpsy2owQ83p9jej6nm+Wx0y3u3HlZnfQiuj3BdDo XqlImzdEFD2Iq97AJrjOzkF4YXMobrAJQakiq1Ro+5Xc6dVJofeIdmOWxWf6JbZi5LAz kucf4D49Vl73g+Ix3Ad+BJj1tOAnx4Y7CfgF0= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=xMLfzFXaoFAsnVlRba2TbAcnYXbTDPeZYeHogLWcM1g=; b=W64ej9KxHEZv84ZnJS8rtIqCKyZCjc26C7dt0yU4xif8po7vZL+N2g5qH50zMS7jk+ 0iqYDbmCfOMw/LZNj3DHl0Y5OwDwJu/ORDXYyqA1oQI6kToawIUvqVhCqUFQtubujjeE jY1i/B4fedt4PoGZG7+RcDNaYUWLErkV3EsqA1Qf/PK8dB2E1qHk+K3rWnJruZhELz6s 5GLEylrQstLjdk5S7azCanyOaMCg1yZ+iLn055nzz+4m/YWNMcjczYYLcVLW9PpqXwqU mK4bqIClKg0QBbXtlklPk0HUzaPYw17C2RDU4yzQC8cry43pRjGKg5SgpLTYBMxA5ZtC 14Wg== X-Gm-Message-State: ABuFfoiwJG08iH12TP2YLtvkqy3D8VSL31rX9/YTfBlBiGq9xquTBwBu GZu95nhkBjvCV54bsRHRSIhAOw== X-Received: by 2002:a63:1a1c:: with SMTP id a28-v6mr4024748pga.157.1539320878088; Thu, 11 Oct 2018 22:07:58 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id y19-v6sm233342pff.14.2018.10.11.22.07.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 22:07:57 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com, agraf@suse.de Date: Fri, 12 Oct 2018 14:09:09 +0900 Message-Id: <20181012050909.7009-4-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181012050909.7009-1-takahiro.akashi@linaro.org> References: <20181012050909.7009-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 3/3] ARM: qemu-arm: enable USB boot in distro boot with UEFI 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" With this patch which adds a removable USB mass storage to a list of bootable devices, USB boot is supported in distro boot if UEFI is configured. Signed-off-by: AKASHI Takahiro Reviewed-by: Alexander Graf --- include/configs/qemu-arm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h index 0e66f946dde5..395cb911f5fe 100644 --- a/include/configs/qemu-arm.h +++ b/include/configs/qemu-arm.h @@ -45,6 +45,7 @@ #define CONFIG_ENV_SECT_SIZE SZ_1M #define BOOT_TARGET_DEVICES(func) \ + func(USB, usb, 0) \ func(SCSI, scsi, 0) \ func(DHCP, dhcp, na)