From nobody Mon Dec 23 10:34:22 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1518747029593140.78882251792788; Thu, 15 Feb 2018 18:10:29 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id E2F67223230F8; Thu, 15 Feb 2018 18:04:34 -0800 (PST) Received: from mail-pl0-x241.google.com (mail-pl0-x241.google.com [IPv6:2607:f8b0:400e:c01::241]) (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 BA2E1223230F4 for ; Thu, 15 Feb 2018 18:04:33 -0800 (PST) Received: by mail-pl0-x241.google.com with SMTP id f4so902402plr.10 for ; Thu, 15 Feb 2018 18:10:27 -0800 (PST) Received: from localhost.localdomain ([64.64.108.63]) by smtp.gmail.com with ESMTPSA id q13sm37836007pgp.76.2018.02.15.18.10.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Feb 2018 18:10:25 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::241; helo=mail-pl0-x241.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org 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; bh=Ps+l7AsA8krF1f9D3iWhSs4gsLE/XZH55Cd3rbHsRb0=; b=BxsBzB9ZhJ0ZGvbRRAb5akbzKbiMM0aGcayR9BGXFcb3rMplg/cGBz5Fft7nimkebO YGF90dndDJ5WGpAfaHsPRVIogX7ub2a4aObaaBPxvmFlwOeP7ck1SjeZT9RwvtF+XIeP m2OqwYwiKdYwD0B2/kpC93T/b4ifLEsXutPds= 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; bh=Ps+l7AsA8krF1f9D3iWhSs4gsLE/XZH55Cd3rbHsRb0=; b=gEBgdk2zoViaiBogiGLOmSldV+t6fdUMDJLDAgzWUha9wwWWncY+bSPf/YzXBhkdhj MeJeIb2XcMQkBkPBtIWWE6Kd38TSZyDI6sXNsdA+00Xj0PCLzi589liZGxoZdcP52Jmb LY1ljD2uyjP18nnHkSutMRcJTmMhwkwwM9Z/shrbbVlx8aH2P9nMSHNIj4A49enno+bG RW6+t1xkxvw5UY2reh1leYZJFCsxaYeuIvCxZmLSTTLcHW8bs+q5ith4AwSbasuF4Orh sdojm9LvoJ4+iJhOxRbdksFgD+y5ZBZxqSteD9fgY9p1QW/WjK65n5WvwKizF8K7gARV m46g== X-Gm-Message-State: APf1xPD/v02LlS+i9mBiaR1nZJRCrUHIOYm7PdMK8gc3SQNGyxFpY0hD auCu8MLssTPmlgAy8FFM6SsguYOah3o= X-Google-Smtp-Source: AH8x226ya1NKHtwCNWRxWyvLWwzJS2341r8o51D9Q/CKk29cc4E+uX7D3Wj4C2Pyef4hfOTzx9Kq6Q== X-Received: by 2002:a17:902:47c2:: with SMTP id d2-v6mr4467537plh.222.1518747026404; Thu, 15 Feb 2018 18:10:26 -0800 (PST) From: Haojian Zhuang To: edk2-devel@lists.01.org, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, linaro-uefi@lists.linaro.org, heyi.guo@linaro.org Date: Fri, 16 Feb 2018 10:10:01 +0800 Message-Id: <1518747003-29025-3-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518747003-29025-1-git-send-email-haojian.zhuang@linaro.org> References: <1518747003-29025-1-git-send-email-haojian.zhuang@linaro.org> Subject: [edk2] [PATCH v3 2/4] Platform/Hisilicon: move out SerialPortLib from common file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Haojian Zhuang MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Dw8250SerialPortRuntimeLib only exists in D02. DebugLib isn't necessary on HiKey platform. So add CONFIG_NO_DEBUGLIB on it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Platform/Hisilicon/D02/Pv660D02.dsc | 1 + Platform/Hisilicon/HiKey/HiKey.dsc | 2 ++ Silicon/Hisilicon/Hisilicon.dsc.inc | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Platform/Hisilicon/D02/Pv660D02.dsc b/Platform/Hisilicon/D02/P= v660D02.dsc index 9e826ae..875e6e4 100644 --- a/Platform/Hisilicon/D02/Pv660D02.dsc +++ b/Platform/Hisilicon/D02/Pv660D02.dsc @@ -80,6 +80,7 @@ =20 [LibraryClasses.common.DXE_RUNTIME_DRIVER] I2CLib|Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf + SerialPortLib|Silicon/Hisilicon/Library/Dw8250SerialPortRuntimeLib/Dw825= 0SerialPortRuntimeLib.inf =20 [BuildOptions] GCC:*_*_AARCH64_PLATFORM_FLAGS =3D=3D -I$(WORKSPACE)/Silicon/Hisilicon/P= v660/Include diff --git a/Platform/Hisilicon/HiKey/HiKey.dsc b/Platform/Hisilicon/HiKey/= HiKey.dsc index c7d931e..295d976 100644 --- a/Platform/Hisilicon/HiKey/HiKey.dsc +++ b/Platform/Hisilicon/HiKey/HiKey.dsc @@ -26,6 +26,8 @@ SKUID_IDENTIFIER =3D DEFAULT FLASH_DEFINITION =3D Platform/Hisilicon/HiKey/HiKey.fdf =20 + DEFINE CONFIG_NO_DEBUGLIB =3D TRUE + [LibraryClasses.common] !if $(TARGET) =3D=3D RELEASE DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf diff --git a/Silicon/Hisilicon/Hisilicon.dsc.inc b/Silicon/Hisilicon/Hisili= con.dsc.inc index 1d6d20c..9050f29 100644 --- a/Silicon/Hisilicon/Hisilicon.dsc.inc +++ b/Silicon/Hisilicon/Hisilicon.dsc.inc @@ -210,8 +210,9 @@ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/R= untimeDxeReportStatusCodeLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf - SerialPortLib|Silicon/Hisilicon/Library/Dw8250SerialPortRuntimeLib/Dw825= 0SerialPortRuntimeLib.inf +!ifndef CONFIG_NO_DEBUGLIB DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/= PeiDxeDebugLibReportStatusCode.inf +!endif =20 [LibraryClasses.AARCH64] ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/Ar= mGenericTimerPhyCounterLib.inf --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel