From patchwork Tue Mar 5 13:32:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 159655 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4974885jad; Tue, 5 Mar 2019 05:33:07 -0800 (PST) X-Google-Smtp-Source: APXvYqx6hG8MlAc/Kosx8mmgK1RVclBJ0thlUl629/8dOorrgUWFbdj24XZIwpGnV/ZcbnJp6Yzq X-Received: by 2002:a17:902:a508:: with SMTP id s8mr1151144plq.275.1551792787617; Tue, 05 Mar 2019 05:33:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551792787; cv=none; d=google.com; s=arc-20160816; b=0sGJY009K5lb9HWvZ0+QgByrsM/PXVmuAGZWtfMrs5Z2c2kdnq87ZgTuXwmn+/8u5E gWZjQIKCMVnTQxljX1PWUTTOtiMe3FwGRcX3hLWnrFiJr9kHNHoqX7vHi0LVpry9izH8 adMzsdy7OfVY4fU/bpx8VhObNe3F4OnwEuuiHqfEebBJQ2rCx7SZLWnus+YNJZpokU2o i9ZJcmDNuMpG5BalJeOWE3HEfq00a7mdcAmGkzOF8yFZMVvnEc8aKMDq7mdoCRfK37cJ O7l8+DVSIslpo/FNsZ9i6zd7qJedGObBEYsqBenvIkSLKPYYkSl64bI2R6SsoKFC8dqA G4kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=X/bk0ItLwj01mf5ReUXZr89APuoGHdqNDMPvwXnWQnM=; b=DlRBlj6HbdMSenCTPkRv2Lwqggw7tBAiemBrwl9VWO+9C2CaXbRjhBnZRjPHIu3FoY ori5u2cbFRE7FBFW3S8JTD+6T1nCue9vIErSoc5FrDqV2YDNqMAhlFui6Xd8d/JxshNC 0ACGUSBPUyMCGwymzpXeKsoW6KJdD+gqR35cnSK/hY/0/qPeclqrc26G9esDmesU1is1 43+twNwG7v/oYoLv0oqdimWwAoqhb1+5PA5WztVKRN0/4UVPR+LhB2N00hLW+U9cc942 WW7TDc0fMCOL3aDLoNiQL/XEH+8dSsQ73sqLNvgRFEzzfNr508qZ2QWkUJ+KIK1zF6O0 kl2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BOm8fWXb; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id f18si7600341pgv.253.2019.03.05.05.33.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2019 05:33:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BOm8fWXb; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7A29C211D504C; Tue, 5 Mar 2019 05:33:03 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.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 ; Tue, 5 Mar 2019 05:33:01 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id i16so9450775wrs.13 for ; 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-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 To: edk2-devel@lists.01.org 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: [edk2] [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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiewen Yao Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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 --- StandaloneMmPkg/StandaloneMmPkg.dsc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) -- 2.20.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: jiewen.yao@intel.com Reviewed-by: achin.gupta@arm.com 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