From patchwork Tue Sep 11 20:26:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Branden X-Patchwork-Id: 10596273 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BF293112B for ; Tue, 11 Sep 2018 20:27:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AAAA629E1B for ; Tue, 11 Sep 2018 20:27:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EB4E29E55; Tue, 11 Sep 2018 20:27:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 456B629E1B for ; Tue, 11 Sep 2018 20:27:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=W2bQfKOw1bachpPOX2VSxEmCp4Hz5FxatdpBUrVr22Y=; b=pJb 2NspGnl2TJzvzcGBKkU5voGjYO4rbofRXmnPZyAUlBO8zYmRhb4ngvHyVbNXz4bzATpo3N8aamyXD Ibu/2gWkm1RE/1aO7OA/efX/hAj3o3n0rgNYBoMUrlfUSCYFFS6XLdezVYLwobIxLaqwPtmHTpEld 12Pub4cV/hd32TSrT1fA7bEiGkYwJB4O5XzaiyVm6u5lGfOEHGcBi8l7sVSurSr66y5lipUx1i/wN VuU6vPexmj+PAii/7dzRZcu9wvYf3YAQnhue8FTQ+QSUaB74/FjeRnpsORVT/4WDWxZwLLNBKtThJ FNaUbCdjzaRTEtGFX5wsyknyOCZy38g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzpFn-0001ls-5i; Tue, 11 Sep 2018 20:27:19 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzpFj-0001k4-Bo for linux-arm-kernel@lists.infradead.org; Tue, 11 Sep 2018 20:27:16 +0000 Received: by mail-wm0-x241.google.com with SMTP id b19-v6so14133wme.3 for ; Tue, 11 Sep 2018 13:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=LbUKct7aCdWJoxSXtup9+lM1PDdAUhM72EnRxWqk5mw=; b=AeVJ2di54Vut+R/85MSO7BKeE+mIN6e49uY+HlkMH4mBwVbqCo1khvOhC8Tka75mcY DUNlDoEmD4y4eNhqwMOXqTci95iuoxsrO2Q1n0WVMiPPxsRe8M0+h3ouQGMud2vC7KKm Z6Z02oAkyb3nunVj8ctFqug1ugSUlXLrBGj6w= 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=LbUKct7aCdWJoxSXtup9+lM1PDdAUhM72EnRxWqk5mw=; b=VHLUwILdsIQTkvYqdG4OANqS+kAHgZaYEbO8bh17qSGY7qV9F+XsYI33LXzzxE4Tl2 w0HFmIX/PAw43lqc8ZeePV0+u++tHmI/HmhTk6wqeVXqOUfmB0fRwxyvplplDdJ7ubJd NjJENqrwYrogOhhAccnL9+QB9zlrkYXTSROvs6c6ILDV2cevl3oQ3rg0wB1yMVVQoQCn HoHqg5w7UW/o93Dd8soooXwc8Ql0clF3HitBmBCO/oZfG90Oc9KORTpaYtZTM7AwX0yR ASuIKxl8T80Vvnk4u3TwLs4moAfK1purAIQISjB3hhZeAK3L/+2oBANWNmCE05SUs3mj vDyg== X-Gm-Message-State: APzg51AeeWw6mAZVi8tIJVtnwnfSE9+6m5VV9Qs5386bIn+gqM0Bx62w 3kcQyH1vnWA+VASNXBG8UGFlbQ== X-Google-Smtp-Source: ANB0VdbMEeGiB9ULMktAtznrAsb1rUHo7YE8KhXwKzx+qIignPeQsQ35Jll81seabHGne2EDlHnrNQ== X-Received: by 2002:a1c:f60c:: with SMTP id w12-v6mr2593343wmc.80.1536697623194; Tue, 11 Sep 2018 13:27:03 -0700 (PDT) Received: from lbrmn-lnxub113.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id k35-v6sm26187250wrc.14.2018.09.11.13.26.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Sep 2018 13:27:02 -0700 (PDT) From: Scott Branden To: Catalin Marinas , Will Deacon , Arnd Bergmann , Olof Johansson , Ard Biesheuvel Subject: [PATCH] efi/libstub/arm: default EFI_ARMSTUB_DTB_LOADER to y Date: Tue, 11 Sep 2018 13:26:38 -0700 Message-Id: <1536697598-3692-1-git-send-email-scott.branden@broadcom.com> X-Mailer: git-send-email 2.5.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180911_132715_403916_71D80D98 X-CRM114-Status: GOOD ( 16.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-efi@vger.kernel.org, Scott Branden , linux-kernel@vger.kernel.org, leif.lindholm@linaro.org, agraf@suse.de, BCM Kernel Feedback , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Default EFI_ARMSTUB_DTB_LOADER to y to allow the dtb= command line parameter to function with efi loader. Required for development purposes and to boot on existing bootloaders that do not support devicetree provided by the platform or by the bootloader. Fixes: 3d7ee348aa41 ("efi/libstub/arm: Add opt-in Kconfig option for the DTB loader") Signed-off-by: Scott Branden --- drivers/firmware/efi/Kconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig index d8e159f..0a84d01 100644 --- a/drivers/firmware/efi/Kconfig +++ b/drivers/firmware/efi/Kconfig @@ -90,14 +90,17 @@ config EFI_ARMSTUB config EFI_ARMSTUB_DTB_LOADER bool "Enable the DTB loader" depends on EFI_ARMSTUB + default y help Select this config option to add support for the dtb= command line parameter, allowing a device tree blob to be loaded into memory from the EFI System Partition by the stub. - The device tree is typically provided by the platform or by - the bootloader, so this option is mostly for development - purposes only. + If the device tree is provided by the platform or by + the bootloader this option may not be needed. + But, for various development reasons and to maintain existing + functionality for bootloaders that do not have such support + this option is necessary. config EFI_BOOTLOADER_CONTROL tristate "EFI Bootloader Control"