From patchwork Wed Oct 15 12:49:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laszlo Ersek X-Patchwork-Id: 38781 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 44E2220973 for ; Wed, 15 Oct 2014 12:50:29 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id b57sf804161eek.4 for ; Wed, 15 Oct 2014 05:50:28 -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:subject :precedence:reply-to:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=KkAKFeKvnc+N+gK4qAqP62s4d5rL7BBgHAsonOvPn00=; b=J7Cx9W7RV8CKpgiw8aIFF5XWewMKgX3kcXzuSQ05DbvwhrnvKfIZ19FyKD9adSIlxM l8GLLPTAh/vDEuo+7JNcNqDbiDfKtx5iGwCO821F9i83ND6XQ1QRaCbMbh9Fv9xIs0Y+ ViZjnbB5og2MmXnpHJKjaRB34XBAnC+UhkvCKt9Dz0CJglow9vXprA847jCFJ+VQRCNL kPHxFS5Hz3MJPeWaKoakbaF8XnrB6rlgPWMp8U/tR9EjFNwz4M5g2U9oXnxYfLaHBXA5 vVuvScipUbqeAMU16FjkwKTEBcGiufLBH3YNERawK7WmpaRhutS0j+39S2E5idLdzAm+ tOsw== X-Gm-Message-State: ALoCoQmyZyr6jppBCEKICM1+VF6xtZARUi9CKSvsgc0h+ywIo2cVZN2lk14GvLg6Qba7CVQUesvD X-Received: by 10.180.19.198 with SMTP id h6mr36403wie.5.1413377428242; Wed, 15 Oct 2014 05:50:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.169 with SMTP id f9ls52650lam.11.gmail; Wed, 15 Oct 2014 05:50:28 -0700 (PDT) X-Received: by 10.112.144.228 with SMTP id sp4mr11894785lbb.58.1413377428048; Wed, 15 Oct 2014 05:50:28 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx.google.com with ESMTPS id f9si30385462lbs.67.2014.10.15.05.50.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 Oct 2014 05:50:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id l4so969357lbv.12 for ; Wed, 15 Oct 2014 05:50:28 -0700 (PDT) X-Received: by 10.112.173.134 with SMTP id bk6mr11991864lbc.66.1413377427855; Wed, 15 Oct 2014 05:50:27 -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.84.229 with SMTP id c5csp587050lbz; Wed, 15 Oct 2014 05:50:27 -0700 (PDT) X-Received: by 10.43.53.138 with SMTP id vq10mr2135441icb.61.1413377426543; Wed, 15 Oct 2014 05:50:26 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id pt4si15587887icb.2.2014.10.15.05.50.25 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 15 Oct 2014 05:50:26 -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 1XeO1r-0003b5-Bg; Wed, 15 Oct 2014 12:50:11 +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 1XeO1p-0003ax-NL for edk2-devel@lists.sourceforge.net; Wed, 15 Oct 2014 12:50:09 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=lersek@redhat.com; helo=mx1.redhat.com; Received: from mx1.redhat.com ([209.132.183.28]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1XeO1m-0005FU-UJ for edk2-devel@lists.sourceforge.net; Wed, 15 Oct 2014 12:50:09 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9FCnwlm005176 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Oct 2014 08:49:58 -0400 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-73.ams2.redhat.com [10.36.116.73]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9FCnuVn014432; Wed, 15 Oct 2014 08:49:57 -0400 From: Laszlo Ersek To: edk2-devel@lists.sourceforge.net, ard.biesheuvel@linaro.org Date: Wed, 15 Oct 2014 14:49:54 +0200 Message-Id: <1413377394-23122-1-git-send-email-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 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_HELO_PASS SPF: HELO matches SPF record -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1XeO1m-0005FU-UJ Subject: [edk2] [RHEL-7.1 ovmf PATCH] ArmVirtualizationPkg: FdtPL011SerialPortLib: support UEFI_APPLICATION 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: lersek@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 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 The library already supports UEFI_DRIVER, we just need to relax the restriction list. This allows ArmVirtualizationPkg platforms to build applications, like the UEFI shell. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-By: Olivier Martin --- .../Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPlatformPkg/ArmVirtualizationPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf b/ArmPlatformPkg/ArmVirtualizationPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf index 178e6c4..9145afa 100644 --- a/ArmPlatformPkg/ArmVirtualizationPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf +++ b/ArmPlatformPkg/ArmVirtualizationPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf @@ -20,7 +20,7 @@ FILE_GUID = CB768406-7DE6-49B6-BC2C-F324E110DE5A MODULE_TYPE = BASE VERSION_STRING = 1.0 - LIBRARY_CLASS = SerialPortLib|DXE_CORE DXE_DRIVER UEFI_DRIVER DXE_RUNTIME_DRIVER + LIBRARY_CLASS = SerialPortLib|DXE_CORE DXE_DRIVER UEFI_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION CONSTRUCTOR = FdtPL011SerialPortLibInitialize [Sources.common]