Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4533693imm; Tue, 11 Sep 2018 13:28:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZFbwYmTTcQZ6fdb/d2o0PU2wIrHw0ak+wtRHAqLrMJvPh80OqlF84JXSW2f6PgE+vjsEBq X-Received: by 2002:a62:49d5:: with SMTP id r82-v6mr31248740pfi.245.1536697680924; Tue, 11 Sep 2018 13:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536697680; cv=none; d=google.com; s=arc-20160816; b=loLUookoAeK7hjQm3Pp26jOGSxCos15KvRPHB9kpp1Z1R3c0lHEqGkkcRqPgMDQm5r +Px4R2nLwNc6ocuG9/8jILkAtzf1FC61kxX64eJJO/HS66Rt8yI7UmAH6HvVRfJfVY+t ctI547jfh/65rEGbiyzi2fcHQZeXxgbWCLo3czIARgBsbsmZOXTojoPUhsv25483iNc6 RYSXLwF6K1matoajuiiKz73DtRUDEdMlcJHD//IxH3LYIVWbA9ykC729yGXeAMDnoG9o tsuRrskxoO6m5Xzh3qjpg7Uik2fA4mEE/sL5SFHczH5zKLqSXsEYSaW3WJDyH4HWYiwv /xnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=LbUKct7aCdWJoxSXtup9+lM1PDdAUhM72EnRxWqk5mw=; b=tmrOTnm5/qX2jbbxn0I3wKJGuFomWQSJI8+8b/V8TUsUpFxcXg4ZFcepnLH5cThtkw DtxsoeEGYgvMHHAuMdc8aVY1gJoJK7xaoGuwTUhalb0mm1w0VZRVieBehSJiyRkeXctO tW1yjmeBBdw9sjtVI03//YThx02CnRe3G6w7+xMR7qAzb8nLPwmxAoG+AoaujeDNiDju v498viKv9td9G6A5YFkC5XBLrv7TvXepsMiMPv+O4uqVaNctIJawOG8IEKm/92AWR5Je YO16QJAafS3hnjvZhRE1RK5Sd9/7SVOdcEVCO44ybR+pMurwKALcvth1I4Y/AXtGNfNY oXZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=AeVJ2di5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2-v6si23052411pgm.581.2018.09.11.13.27.16; Tue, 11 Sep 2018 13:28:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=AeVJ2di5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727153AbeILB2D (ORCPT + 99 others); Tue, 11 Sep 2018 21:28:03 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:51136 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726792AbeILB2C (ORCPT ); Tue, 11 Sep 2018 21:28:02 -0400 Received: by mail-wm0-f68.google.com with SMTP id s12-v6so31215wmc.0 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=gE5Jix6V+wCkA6d4GIoUHZXEQflPAiXiI0JcubDTN32mQmlneHFtKMQinGHHiBQ59K UW4qj+NYTP1Uc6xj2pxx5gLQLoNDQlSO4f4qs66z8ExxaIBuH4aThloIxlfJcP7xyrWR UwBPvTfoaV5jNZWVqgvJJKiv9B0XmRe68Zi+IxLco27GzkPv3sIdmch0pQ99B98Ta1fP A0rJa7AVGA1HkPm49CVURBAcYuJkvzF0OtPjgiPBdzDkWBNFxhlY/cgOInH0eDOpMQKi 7/ceqZ96galIn2RM8u5k2B4GrHQevb/jSTqSilZ4b5GIH11ue3ZY+DjS9cw17MTDrmuj 7h0g== X-Gm-Message-State: APzg51Dqc8Cwv4vzAP8bTcchLUyvyxQ+L7hnWr0328u2dHEwYSF+3slQ gchCtBanRMzbGMUfFyewSUaHdw== 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 Cc: BCM Kernel Feedback , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, leif.lindholm@linaro.org, agraf@suse.de, Scott Branden 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" -- 2.5.0