From patchwork Mon May 4 06:04:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 47989 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2F53820553 for ; Mon, 4 May 2015 06:05:12 +0000 (UTC) Received: by lbbrr5 with SMTP id rr5sf39611001lbb.3 for ; Sun, 03 May 2015 23:05:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=y1UX5O82fhw9uuSN3meClBMw3Ad1/0NVuOSCqLMLqKE=; b=CDeRK4d+I8qgdlSTvUSJRTuJ9a1F65HnIPaZUPY7WDzLpihAGkMqIxBZ7gYA5k5rzi pG8nBAJGCYaYb+5t1ZMiZ7C+uAqNy6iWL308rk9yAIRO7nYt+IQcggkoV32mi6blDe3C ftle6Y2C1ciDJL4S34sSOD8cKQE7zucaAO78A7ooPknmclsUOlztei3EYEZf40WKVgMp VX4zvXvH6JUgzM4eMdE4GvK7N9fbQvntbTsnUWQdNHhFyn7sIHJISOxWRfCEAnpAz0gY AYIrBdM0HIPkNQ17fYQqaCf+DQspFQdVcmaCa0swjWSNMvQrkaGhbxJ+FX7psn5jw4nz +kxA== X-Gm-Message-State: ALoCoQkZ595FXfKI27YEzjIH9gG3ZqJ4flcb43j8+RIRdX30e5f0KJtgGSouczn3GBGZQtIlqD/G X-Received: by 10.180.85.129 with SMTP id h1mr7412170wiz.6.1430719511146; Sun, 03 May 2015 23:05:11 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.172 with SMTP id p12ls722515lal.40.gmail; Sun, 03 May 2015 23:05:11 -0700 (PDT) X-Received: by 10.152.121.42 with SMTP id lh10mr18679285lab.0.1430719510979; Sun, 03 May 2015 23:05:10 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id xr5si9401582lbb.76.2015.05.03.23.05.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 May 2015 23:05:10 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lagv1 with SMTP id v1so97219437lag.3 for ; Sun, 03 May 2015 23:05:10 -0700 (PDT) X-Received: by 10.152.27.98 with SMTP id s2mr18334002lag.106.1430719510885; Sun, 03 May 2015 23:05:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp1482063lbt; Sun, 3 May 2015 23:05:10 -0700 (PDT) X-Received: by 10.50.13.10 with SMTP id d10mr11297382igc.20.1430719506538; Sun, 03 May 2015 23:05:06 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id eu19si9904901icb.100.2015.05.03.23.05.05 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 03 May 2015 23:05:06 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Yp9Uv-00028t-FQ; Mon, 04 May 2015 06:04:57 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Yp9Ut-00028m-Pa for edk2-devel@lists.sourceforge.net; Mon, 04 May 2015 06:04:55 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of linaro.org designates 74.125.82.53 as permitted sender) client-ip=74.125.82.53; envelope-from=ard.biesheuvel@linaro.org; helo=mail-wg0-f53.google.com; Received: from mail-wg0-f53.google.com ([74.125.82.53]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Yp9Ut-0004ZE-0H for edk2-devel@lists.sourceforge.net; Mon, 04 May 2015 06:04:55 +0000 Received: by wgyo15 with SMTP id o15so139569601wgy.2 for ; Sun, 03 May 2015 23:04:49 -0700 (PDT) X-Received: by 10.194.59.46 with SMTP id w14mr38954590wjq.106.1430719489045; Sun, 03 May 2015 23:04:49 -0700 (PDT) Received: from localhost.localdomain (cag06-7-83-153-85-71.fbx.proxad.net. [83.153.85.71]) by mx.google.com with ESMTPSA id mv11sm9494381wic.23.2015.05.03.23.04.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 May 2015 23:04:48 -0700 (PDT) From: Ard Biesheuvel To: olivier.martin@arm.com, lersek@redhat.com, edk2-devel@lists.sourceforge.net Date: Mon, 4 May 2015 08:04:31 +0200 Message-Id: <1430719471-16998-4-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1430719471-16998-1-git-send-email-ard.biesheuvel@linaro.org> References: <1430719471-16998-1-git-send-email-ard.biesheuvel@linaro.org> X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1Yp9Ut-0004ZE-0H Subject: [edk2] [PATCH v4 3/3] ArmVExpressPkg: restrict ArmVExpressSysConfigLib to SEC and DXE_DRIVER X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Since ArmVExpressSysConfigLib cannot be supported at runtime, restrict its use to the types of modules that are currently using it legally. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf index c1647756efbe..b89455a421c3 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf +++ b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf @@ -20,7 +20,7 @@ FILE_GUID = a05b5cc0-82d2-11e0-82cb-0002a5d5c51b MODULE_TYPE = BASE VERSION_STRING = 1.0 - LIBRARY_CLASS = ArmPlatformSysConfigLib + LIBRARY_CLASS = ArmPlatformSysConfigLib|SEC DXE_DRIVER [Sources.common] ArmVExpressSysConfig.c