From patchwork Wed Oct 18 16:13:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 827706 X-Patchwork-Delegate: agraf@suse.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yHHLR2gRBz9t4c for ; Thu, 19 Oct 2017 03:18:54 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 76BFCC21E78; Wed, 18 Oct 2017 16:17:57 +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=FREEMAIL_FROM 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 15728C21F3D; Wed, 18 Oct 2017 16:14:01 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1EC10C21F2D; Wed, 18 Oct 2017 16:13:39 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lists.denx.de (Postfix) with ESMTPS id 7E1F5C21EE4 for ; Wed, 18 Oct 2017 16:13:35 +0000 (UTC) Received: from workstation4.fritz.box ([94.114.42.150]) by mail.gmx.com (mrgmx001 [212.227.17.184]) with ESMTPSA (Nemesis) id 0M39zL-1dCCHh1b55-00suGR; Wed, 18 Oct 2017 18:13:34 +0200 From: Heinrich Schuchardt To: Alexander Graf Date: Wed, 18 Oct 2017 18:13:15 +0200 Message-Id: <20171018161320.7231-14-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171018161320.7231-1-xypron.glpk@gmx.de> References: <20171018161320.7231-1-xypron.glpk@gmx.de> X-Provags-ID: V03:K0:odEUxvw5BATx5urd6AJ1go0x82hblptP0haKblAOwLq2V/wWn2H +p26jy2JlcxV5aHjHezhbMi33VKesr1qQR5zWIwMQDKcRMUzriKtHOzDeHmJ6Zid9QJRWmN 5xZj8acJYCsk3E4aE6SkLeohP0wFYSyAg1cJchdo2WgHTKlNqCP9C27uZUmhZ8QKtLPWXt5 2DZBhS++Ylyuzex0kjjyQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:Tg+p3LvrG6I=:4u3kCrIzAaot1ogasZYFCY J0+I6MnB5vs2Oea+IHcJw34I2HM9jbWZlTxXu3Wlvk8wt6Ry8kBfC/ikcXp1/2mv78AHD3Pp1 XVmsjmKRdB/aYJ7vIyf8wDnqNjsp877xMOlUe3M4HQZubZyy04QK0allHDZFfnShta71eP2Js 6ih0CuG/9iX6Pjr/N4DiAHgUpEj+ivMy9tsM0bg/V3YP0qdQhw+9mPkmSQDf3EBeFUxHNkBLM 4y1jgmaLBc8m4gAkMHQ2ndp6eGDqBvuduup28K3Ew5CA4WV782PPu2Hl2zT94qMSworUjOWxV ZZ2boSLgp98zx31FmmfKuHZVBFio8V9Jd8PT3PkaDxJy04N0f6uEzrtXUH4fPrjQ141FgsMYG Ho9L85QiLHXfelykAiwUuVH8jFcubqYSHDrEy70pubgoSx7P/iIIvQgRkq9M1nFJZJLp8mqUN BZka/OSdb+R46XO9xIJlB6tWjjnNYvsfQdYvHyU3cM9vtPY/topO1qm98Iqn+vetO3g7RQi+X TQSYVcJHiPztnQAl5gZXfF6oIqtakDXbPXaQ5IuXIp6XsdQfwT54heg5iZsSMCkkkirb2JkAq M85szX5YyRMgp7e2krisKRygMUQC+Ss6LXyGqoPQje3We9YodQRNOCGBYiB2CrmB/JdtgpQaH d2obox+PHd7PxuizRt66D7CxkUOc0CV3GFhzzueb44pPo0fVvTmMcvFEuvz0g+gveAiUxdzoQ +9iP0ixPRcf8Luw9MGoBnHw+hiAjaljCWQYrINXzRz7iQGwuB2aLvrhDKE/4l/io4OwG5sft5 7fkH7+FFWRb3+pm9f4TCXT5V/a3sg== Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: [U-Boot] [PATCH v4 13/18] efi_loader: use bootargs as load options 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" Use environment variable bootargs used as load options for bootefi payloads. Signed-off-by: Heinrich Schuchardt --- v4 no change v3 new patch split off --- cmd/bootefi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/bootefi.c b/cmd/bootefi.c index 40834f3899..ff659fc02f 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -218,6 +218,8 @@ static efi_status_t do_bootefi_exec(void *efi, void *fdt, efi_install_configuration_table(&fdt_guid, NULL); } + /* Transfer environment variable bootargs as load options */ + set_load_options(&loaded_image_info, "bootargs"); /* Load the EFI payload */ entry = efi_load_pe(efi, &loaded_image_info); if (!entry) {