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: 3250911 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 8E59E9F3B8 for ; Wed, 27 Nov 2013 23:35:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B7ED02060B for ; Wed, 27 Nov 2013 23:35:06 +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 D08E82060A for ; Wed, 27 Nov 2013 23:35:05 +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 1Vloc1-0006iI-1J; Wed, 27 Nov 2013 23:33:41 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vlobb-0004y2-En; Wed, 27 Nov 2013 23:33:15 +0000 Received: from mail-ie0-f169.google.com ([209.85.223.169]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vloat-0004sk-VJ for linux-arm-kernel@lists.infradead.org; Wed, 27 Nov 2013 23:32:33 +0000 Received: by mail-ie0-f169.google.com with SMTP id e14so13518762iej.28 for ; Wed, 27 Nov 2013 15:32:14 -0800 (PST) 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=p9WkspS4qmEyHCI99mYM69d85kbPXU6tnYz8+PoXLxY=; b=Y2qHyAZZWLnPYkBOAa4Xg567CncnbLiQGW5y3WxUo/fRo/OaHiTB/+00oh2yy75hmY LOticmFLn3QGpisx0dYRL71uvDjfg+uNATDrk4jAyMBjGS0qKSPJ8l7QuSeyj2/TmISI LI2MfKkrhDtGY4/LQXyqxKwOYBYSyUMik4FBcOflCx/X82Uod4WD7LdAIo0yKSKHr080 CKOGmDX0YoNvzQthdCTEM2EiHq6eEGtsEtmgpyxX7SVwbeqKWrxAXAiC/nItLtbRHbS6 mx+jWLxsf71k1ounmkse77+vSL16m7DC+IwGZnXLLtnvgaZNjnsEriOrplYjGSSCCqtx G8Sw== X-Gm-Message-State: ALoCoQnHm0I2uokls5oZY/VIxxbLnHH3P6oO9SoIcOLLmEJzulo+1wPNeqTRmfC6BG7KrUSRn2Ey 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131127_183232_071969_A68F3348 X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: patches@linaro.org, leif.lindholm@linaro.org, Roy Franz , msalter@redhat.com, grant.likely@linaro.org, dave.martin@arm.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=-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 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