From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ard.biesheuvel@linaro.org>
Received-SPF: Pass (sender SPF authorized) identity=mailfrom;
 client-ip=2a00:1450:4864:20::443; helo=mail-wr1-x443.google.com;
 envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org 
Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com
 [IPv6:2a00:1450:4864:20::443])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by ml01.01.org (Postfix) with ESMTPS id B6158211D5051
 for <edk2-devel@lists.01.org>; Tue,  5 Mar 2019 05:33:01 -0800 (PST)
Received: by mail-wr1-x443.google.com with SMTP id i16so9450775wrs.13
 for <edk2-devel@lists.01.org>; Tue, 05 Mar 2019 05:33:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=MZOXjw49CTWiyWdiQjxgtnQVT6DbGpy2P1Vssi8mXgg=;
 b=BOm8fWXbR5IUDDcSvb5m+NAYjvpfg7lieeQ05qldLqZEn+8jlIE72YMGY8gPJPogHV
 55WxwcEpyL35HPcat9jZ3tUfkWt30dS9vULMTviSZL2cRAfouzjMU9cjUsfkkTcTUO+4
 fpQlPz4tKDej2mQ2yl+OJIg6X5WMihH30kMJcuvkhs0UrQm1xBAYDosgoA5kgngzobAG
 a5Dd0HU/bp2syYB98Ge7l9YbvPphAAIF24xVioce/k0crRHVLNTZdHjYPvzIWZH2vWjn
 SwqWovDEuwrTVBfPOdCJfW283IeFnmm8ecS8b6DQ3pdp4KYqiv2z4uzMju1iCeEBWm1+
 XUgQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=MZOXjw49CTWiyWdiQjxgtnQVT6DbGpy2P1Vssi8mXgg=;
 b=E/AsQ1OWLz7fgoGki0NMGqYqeHo0vTNqVVmmyLEPUnVpczsHJTktkWiWyBN5kLf783
 w901V4pV3MA4Wi+HKy/Ve2XrO3Wf6PnLrlRxSaXwo0CH3qQlWtti0vgyiAb0dvG6WQ/n
 luGoXTOdRcEhnabmh88/RMn4v1WNe+uUIOYe7Khz+0EZ5mM7YOodzKTAHJn5vBEPNcGI
 r49FDS1kT7l1OO98Z9pRmD6Jv8lpS/pNBxPRMGIw/Ssl5T4WtolL9UcaOiq6qSQ1wW74
 9gBfQfnlfjqw9DkN6bn3D3k5/k3drd8GaG/jHMcQpx0HBDM6p7BTDthPhi4HsxAtEyY1
 1k1w==
X-Gm-Message-State: APjAAAVcdDDQKzEftQXbMHqWYX/vCE6M7uNYo43aEgolcdcn4qXsUPge
 bnjelo9OsKxnL59QYE5FN1oRi7QsOyU=
X-Google-Smtp-Source: APXvYqxTpSsXEKp/c2Pd9PDxPsZ+zRfbD7iVdOZLUIjw+mlnZKI0rHNQvUz1vPOi4G12I1Uzea+v8A==
X-Received: by 2002:adf:cd02:: with SMTP id w2mr16061749wrm.30.1551792779793; 
 Tue, 05 Mar 2019 05:32:59 -0800 (PST)
Received: from localhost.localdomain
 (aputeaux-684-1-18-114.w90-86.abo.wanadoo.fr. [90.86.221.114])
 by smtp.gmail.com with ESMTPSA id i4sm8370097wrw.19.2019.03.05.05.32.58
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 05 Mar 2019 05:32:59 -0800 (PST)
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>,
 Achin Gupta <achin.gupta@arm.com>,
 Supreeth Venkatesh <supreeth.venkatesh@arm.com>,
 Jiewen Yao <jiewen.yao@intel.com>,
 Leif Lindholm <leif.lindholm@linaro.org>,
 Jagadeesh Ujja <jagadeesh.ujja@arm.com>
Date: Tue,  5 Mar 2019 14:32:41 +0100
Message-Id: <20190305133248.4828-4-ard.biesheuvel@linaro.org>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20190305133248.4828-1-ard.biesheuvel@linaro.org>
References: <20190305133248.4828-1-ard.biesheuvel@linaro.org>
MIME-Version: 1.0
Subject: [PATCH 03/10] StandaloneMmPkg: switch to NULL DebugLib resolution
X-BeenThere: edk2-devel@lists.01.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: EDK II Development  <edk2-devel.lists.01.org>
List-Unsubscribe: <https://lists.01.org/mailman/options/edk2-devel>,
 <mailto:edk2-devel-request@lists.01.org?subject=unsubscribe>
List-Archive: <http://lists.01.org/pipermail/edk2-devel/>
List-Post: <mailto:edk2-devel@lists.01.org>
List-Help: <mailto:edk2-devel-request@lists.01.org?subject=help>
List-Subscribe: <https://lists.01.org/mailman/listinfo/edk2-devel>,
 <mailto:edk2-devel-request@lists.01.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Mar 2019 13:33:02 -0000
Content-Transfer-Encoding: 8bit

Building StandaloneMmPkg from its .DSC is mainly intended for build
coverage, and so platform specific configuration such as UART addresses
don't belong here.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
 StandaloneMmPkg/StandaloneMmPkg.dsc | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/StandaloneMmPkg.dsc
index f279d9e7e5c7..8def9688fe7d 100644
--- a/StandaloneMmPkg/StandaloneMmPkg.dsc
+++ b/StandaloneMmPkg/StandaloneMmPkg.dsc
@@ -43,7 +43,7 @@ [LibraryClasses]
   #
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
-  DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
+  DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
   FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf
   HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf
@@ -66,10 +66,6 @@ [LibraryClasses.AARCH64]
   ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf
   CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
   PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
-  PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
-  PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
-  # ARM PL011 UART Driver
-  SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
 
   StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
 
@@ -83,11 +79,6 @@ [PcdsFixedAtBuild]
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff
   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
 
-[PcdsFixedAtBuild.AARCH64]
-  ## PL011 - Serial Terminal
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c0b0000
-  gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
-
 ###################################################################################################
 #
 # Components Section - list of the modules and components that will be processed by compilation
-- 
2.20.1