From patchwork Thu Sep 15 14:28:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 76324 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp2476587qgf; Thu, 15 Sep 2016 07:30:32 -0700 (PDT) X-Received: by 10.98.61.27 with SMTP id k27mr15070231pfa.27.1473949832814; Thu, 15 Sep 2016 07:30:32 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id t22si24312853pfg.41.2016.09.15.07.30.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Sep 2016 07:30:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bkXez-0005dZ-CZ; Thu, 15 Sep 2016 14:29:05 +0000 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bkXel-0005Z6-Px for linux-arm-kernel@lists.infradead.org; Thu, 15 Sep 2016 14:28:56 +0000 Received: by mail-lf0-x22f.google.com with SMTP id h127so39725231lfh.0 for ; Thu, 15 Sep 2016 07:28:30 -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; bh=oHU9L/tYaoYEoq4do+wmlfzfAiFYta9+Q1U37ONe7r4=; b=X7NBkzbkfWXXl2DOdmsIRD52xyXFPvyac2X1VRJBaNQ5gGZnRaENA7r1cB8cZp9WeU 1d2DL5v+mBlCoCqiWSxh+auSgJas+oF/P2WV1HXhBuEKzyG8oeCc2XoXUyvAgbLd1CZ4 dIJxF2aJnvdFl811gJNS4IB7Bao/INe+Ar1Jo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=oHU9L/tYaoYEoq4do+wmlfzfAiFYta9+Q1U37ONe7r4=; b=Ip8hGEBIyDz7nEyX6l9Y2to+oZZnbuZ7yLh9909ekBsPzpYR/TnMWZ91wI2DsFoU68 EzsqNU9o/t8ZODtzJw5EgH5A3KwODPW2RBdlLrPiNpQRxbExHqCHW+YOkwEi7IzzLoPt yOqqJ8NIeD+jXFmYRpAb307QYTXp8mcFkz5wTAWPhsoJ11TnLSJLWPzD8dCak/DCvXu2 +R8m6gly0aofvsc7ocEklqsgnGoJVF5lu2Lk8eUThLZO1dSRoPHa6BHqGJc7+TeGZ4H9 FD+PAF5ZjMiopTTRU+n2QhJdYSbAnIG1CW7PkQN+9t4DTy1LxUIi0AUqsffCB9s7gKhT kEWQ== X-Gm-Message-State: AE9vXwNyxXy/FEimoLfEc1JdUrsncRsgU+YreTYpGqOJpGyEP08f8g7ZRbqaCZ8MMzFnuwje X-Received: by 10.194.235.69 with SMTP id uk5mr8147078wjc.53.1473949708574; Thu, 15 Sep 2016 07:28:28 -0700 (PDT) Received: from localhost.localdomain ([197.131.252.189]) by smtp.gmail.com with ESMTPSA id f15sm2731758wmf.8.2016.09.15.07.28.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Sep 2016 07:28:27 -0700 (PDT) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, olof@lixom.net, khilman@kernel.org Subject: [PATCH] ARM: multi_v7_defconfig: enable CONFIG_EFI Date: Thu, 15 Sep 2016 15:28:20 +0100 Message-Id: <1473949700-12814-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160915_072852_260321_1B192C32 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:22f listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org This enables CONFIG_EFI for multi_v7_defconfig, which adds support for booting via EFI, and for the EFI framebuffer as builtin options. It also enables the EFI rtc, the EFI variable pseudo-filesystem and the EFI capsule loader as modules. Signed-off-by: Ard Biesheuvel --- We have been happily booting multi_v7_defconfig+CONFIG_EFI=y kernels on kernelci for months now, so please consider enabling this by default. The increase in compressed kernel footprint is ~30 KB, for the uncompressed kernel it's ~10 KB, some of which is .init code. arch/arm/configs/multi_v7_defconfig | 5 +++++ 1 file changed, 5 insertions(+) -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 2c8665cd9dc5..f30e8b44ea0d 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -129,6 +129,7 @@ CONFIG_CMA=y CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_ATAG_DTB_COMPAT=y CONFIG_KEXEC=y +CONFIG_EFI=y CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y @@ -593,6 +594,7 @@ CONFIG_DRM_PANEL_SIMPLE=y CONFIG_DRM_STI=m CONFIG_DRM_VC4=y CONFIG_FB_ARMCLCD=y +CONFIG_FB_EFI=y CONFIG_FB_WM8505=y CONFIG_FB_SH_MOBILE_LCDC=y CONFIG_FB_SIMPLE=y @@ -750,6 +752,7 @@ CONFIG_RTC_DRV_S35390A=m CONFIG_RTC_DRV_RX8581=m CONFIG_RTC_DRV_EM3027=y CONFIG_RTC_DRV_DA9063=m +CONFIG_RTC_DRV_EFI=m CONFIG_RTC_DRV_DIGICOLOR=m CONFIG_RTC_DRV_S5M=m CONFIG_RTC_DRV_S3C=m @@ -867,6 +870,8 @@ CONFIG_NVMEM=y CONFIG_NVMEM_SUNXI_SID=y CONFIG_BCM2835_MBOX=y CONFIG_RASPBERRYPI_FIRMWARE=y +CONFIG_EFI_VARS=m +CONFIG_EFI_CAPSULE_LOADER=m CONFIG_EXT4_FS=y CONFIG_AUTOFS4_FS=y CONFIG_MSDOS_FS=y