From patchwork Wed Aug 7 03:45:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Franz X-Patchwork-Id: 2839903 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1B89EBF535 for ; Wed, 7 Aug 2013 06:05:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 49A2B201B7 for ; Wed, 7 Aug 2013 06:05:24 +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 445A2201B3 for ; Wed, 7 Aug 2013 06:05:23 +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 1V6ukI-0004eJ-I4; Wed, 07 Aug 2013 03:49:12 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6ujG-0001WD-VZ; Wed, 07 Aug 2013 03:48:06 +0000 Received: from mail-ye0-f175.google.com ([209.85.213.175]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6uhK-0001FM-VF for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2013 03:46:09 +0000 Received: by mail-ye0-f175.google.com with SMTP id m9so396752yen.6 for ; Tue, 06 Aug 2013 20:45:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=B2DndMiJN7MipW/ATE2W1c9vcxTyCc0IeG/6gxF2h0I=; b=MeXb/pGCfmTMDpFffGdR+IQhfPsqErJLLQfCW8ACWn5X48NxvbwR40Zdjld0+RevNV E76nl8pVtwaWzupkt2jWY62E2Fj4xJWP6gUSE5m5mPGVPtKUbDbKnIR+AeVA8qfXamik /ciE2CYAEfdnj74PMqyVtn5XeDKgEhFQSvAfD/7C+bTwPZIP//9LwurNUSJBTkQ3LIy2 lwi0GlB/7NraNdTr2tJCzroa1hVa2P8908Sa09RZnBPy08QjIzdTbZtRcAuzO+YE/UWv xIcqVVPVF50r2YVsnFJkl6UOHTwM2Qn6VsdQc2vBT7VDDT05kMV8nV2SLk18uzzzAnwt Zcow== X-Gm-Message-State: ALoCoQn8MdOmzpYcKNUSCSZl1Aj01eJi5GAIbNIfsStJD+dYJfOGdCzOK0ZUD73/oIUEfAfLyMrj X-Received: by 10.236.175.199 with SMTP id z47mr650074yhl.241.1375847145716; Tue, 06 Aug 2013 20:45:45 -0700 (PDT) Received: from rfranz-v430.caveonetworks.com (64.2.3.195.ptr.us.xo.net. [64.2.3.195]) by mx.google.com with ESMTPSA id s65sm6814380yhs.14.2013.08.06.20.45.44 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 20:45:45 -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 17/17] Add config EFI_STUB for ARM to Kconfig Date: Tue, 6 Aug 2013 20:45:13 -0700 Message-Id: <1375847113-24884-18-git-send-email-roy.franz@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1375847113-24884-1-git-send-email-roy.franz@linaro.org> References: <1375847113-24884-1-git-send-email-roy.franz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130806_234607_112323_9F858F5D X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Roy Franz , dave.martin@arm.com, leif.lindholm@linaro.org 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=-4.2 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 37c0f4e..192968c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1805,6 +1805,16 @@ 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" + ---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"