From patchwork Wed Nov 27 23:31:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Franz X-Patchwork-Id: 21826 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f72.google.com (mail-pb0-f72.google.com [209.85.160.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D882523FD2 for ; Wed, 27 Nov 2013 23:32:15 +0000 (UTC) Received: by mail-pb0-f72.google.com with SMTP id jt11sf20411589pbb.7 for ; Wed, 27 Nov 2013 15:32:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=p9WkspS4qmEyHCI99mYM69d85kbPXU6tnYz8+PoXLxY=; b=TYOgO+8RrBrTpPT6DHpvFJlX80Sso1U9bYr8lmBp3qt+XUkJq489/HdvVSNerD+P9M QzhjyRbKseSLzEG666l3x4hsGbRhS8AOMDmM8ghZIDUCVMfEhOgyrOv1BHZlMpF6zb/o utZAfA4qElCI6rMHu4mR63GRjYot0d21r7ssZc/TUtTQVPj/XqjQQ2G/CvQOc1x9Vg8E XjlFuoLAwufOdPKPK+ozk4ul3UQXMRad/yoygDod7cSGBEYpPYO8fNticW0RUgtbc56f 02rNmyvy7MKG/AsDgmdY7H3UKlMWx6RP5KpjiDwnbZ+WlQpphkPEHI+ofOoiaNCHncbq EDrA== X-Gm-Message-State: ALoCoQlPMAmcATmJvHM0ISrfHG7pWF6FIGn67wnrAx14IBNrLskdMw5NYaDcP17U+83HLcsACicy X-Received: by 10.68.196.228 with SMTP id ip4mr2685031pbc.5.1385595135175; Wed, 27 Nov 2013 15:32:15 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.49.10 with SMTP id q10ls1541371qen.0.gmail; Wed, 27 Nov 2013 15:32:15 -0800 (PST) X-Received: by 10.52.116.74 with SMTP id ju10mr30204990vdb.20.1385595135063; Wed, 27 Nov 2013 15:32:15 -0800 (PST) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx.google.com with ESMTPS id wp10si21723306vdb.97.2013.11.27.15.32.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Nov 2013 15:32:15 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.54 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.54; Received: by mail-vb0-f54.google.com with SMTP id p6so5310185vbe.41 for ; Wed, 27 Nov 2013 15:32:15 -0800 (PST) X-Received: by 10.58.108.196 with SMTP id hm4mr3448496veb.28.1385595134989; Wed, 27 Nov 2013 15:32:14 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp24579vcz; Wed, 27 Nov 2013 15:32:14 -0800 (PST) X-Received: by 10.50.61.137 with SMTP id p9mr262487igr.45.1385595134479; Wed, 27 Nov 2013 15:32:14 -0800 (PST) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by mx.google.com with ESMTPS id t15si29414384igr.21.2013.11.27.15.32.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Nov 2013 15:32:14 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.174 is neither permitted nor denied by best guess record for domain of roy.franz@linaro.org) client-ip=209.85.223.174; Received: by mail-ie0-f174.google.com with SMTP id at1so12977229iec.5 for ; Wed, 27 Nov 2013 15:32:14 -0800 (PST) X-Received: by 10.50.50.70 with SMTP id a6mr328731igo.1.1385595134169; Wed, 27 Nov 2013 15:32:14 -0800 (PST) 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 p5sm41764439igj.10.2013.11.27.15.32.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Nov 2013 15:32:13 -0800 (PST) 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 Cc: leif.lindholm@linaro.org, grant.likely@linaro.org, dave.martin@arm.com, msalter@redhat.com, patches@linaro.org, Roy Franz Subject: [PATCH V5 6/6] Add config EFI_STUB for ARM to Kconfig Date: Wed, 27 Nov 2013 15:31:55 -0800 Message-Id: <1385595115-21488-7-git-send-email-roy.franz@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1385595115-21488-1-git-send-email-roy.franz@linaro.org> References: <1385595115-21488-1-git-send-email-roy.franz@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: roy.franz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.54 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 a1b4758..6601985 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1857,6 +1857,16 @@ config EFI This option is only useful on systems that have UEFI firmware. However, even with this option, the resultant kernel will continue to boot on non-UEFI platforms. +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