From patchwork Sat Sep 28 16:23:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Franz X-Patchwork-Id: 2958051 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0994F9F244 for ; Sat, 28 Sep 2013 16:25:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 44962202D1 for ; Sat, 28 Sep 2013 16:25:51 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5396520367 for ; Sat, 28 Sep 2013 16:25:50 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPxJq-0007Se-Ns; Sat, 28 Sep 2013 16:24:35 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPxJW-0005OS-LU; Sat, 28 Sep 2013 16:24:14 +0000 Received: from mail-qa0-f49.google.com ([209.85.216.49]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPxIs-0005JN-0u for linux-arm-kernel@lists.infradead.org; Sat, 28 Sep 2013 16:23:36 +0000 Received: by mail-qa0-f49.google.com with SMTP id k15so1265351qaq.8 for ; Sat, 28 Sep 2013 09:23:12 -0700 (PDT) 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:in-reply-to :references; bh=tI4XKUea3LEoqdwqcdfVSaqjlaHulXk2bzhv18bzToc=; b=g/wCkO3JaTdP70N1hFgslgrOskMimNuphMHe6xOF9G3J9/yfJMmQ7A2l3GQPh+fEhT 4QEg2jm2sDPgGfXfLrCQQ0Alkmfgy4Jqa9bnKwM76DJVbSJqA4BJaKywfHosE3tgNtmr F6qgTS5gNaqu+9yQrF9QVv35iXHkAvYtrNZqIh1p5SHxImt3kJ5KPTz58nVDvPWNdU/v MpRS+zSEmmnVYUEl4MKaHNscYmjYPlmWl9cMn9UbGbgosVT/2VdnwmMg6N0s+grz11fv oNWpmleKm+XXdFoXOjA2P7TeoT0IVVe1e8xyCB0TgFa4TX2kgFVz7lsAarXkTeWSmA8X 6joA== X-Gm-Message-State: ALoCoQnV9C17nfyCvPogCsA2nFlOP/uKXRjuUQpngJb061/NwOYy0igZxn7t1hjP4ayZQqh1i8lB X-Received: by 10.224.13.130 with SMTP id c2mr2664961qaa.69.1380385392772; Sat, 28 Sep 2013 09:23:12 -0700 (PDT) Received: from rfranz-t520.caveonetworks.com (static-108-20-23-67.bstnma.fios.verizon.net. [108.20.23.67]) by mx.google.com with ESMTPSA id l2sm31145506qad.10.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 09:23:12 -0700 (PDT) From: Roy Franz To: linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, matt.fleming@intel.com, linux@arm.linux.org.uk Subject: [PATCH 6/6] Add config EFI_STUB for ARM to Kconfig Date: Sat, 28 Sep 2013 09:23:23 -0700 Message-Id: <1380385403-31904-7-git-send-email-roy.franz@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1380385403-31904-1-git-send-email-roy.franz@linaro.org> References: <1380385403-31904-1-git-send-email-roy.franz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130928_122334_173347_45C96696 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: grant.likely@linaro.org, Roy Franz , dave.martin@arm.com, leif.lindholm@linaro.org, msalter@redhat.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Roy Franz --- arch/arm/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 43594d5..9c84429 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1805,6 +1805,17 @@ config UACCESS_WITH_MEMCPY However, if the CPU data cache is using a write-allocate mode, this option is unlikely to provide any performance gain. +config EFI_STUB + bool "EFI stub support" + depends on EFI && !CPU_BIG_ENDIAN + ---help--- + This kernel feature allows a zImage to be loaded directly + by EFI firmware without the use of a bootloader. A PE/COFF + header is added to the zImage in a way that makes the binary + both a Linux zImage and an PE/COFF executable that can be + executed directly by EFI firmware. + See Documentation/efi-stub.txt for more information. + config SECCOMP bool prompt "Enable seccomp to safely compute untrusted bytecode"