From nobody Sat May 4 18:01:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+97580+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+97580+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1671496765; cv=none; d=zohomail.com; s=zohoarc; b=HznWJ5zYYx1I5uEHnjSe8IJC2p7NYeLd4FtgrNvA2ZDTkYS1MhCfqJYZ8w7KA6ioNCYJVqTLcIWWzm4Os1RCFoUFU2nSnT9Jbf4Iniy5Q+QcGo27NpIBx9/Eih38yFKuN1+GsdZgan63poD3Y+swGchef1fBOel3tvWJjrWnasc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671496765; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=tCOSqPR9ssc0CLOkeVVNaKrKih25ADHFHuHLHOkMeWc=; b=NJNC1pL/7K9s2+rtJHBNE+a8cV/+nP6g2h5nS8EoMl9Gey/svXk+Xeg6XhmRs4ZkWrVkJP34du+nIy29FhjdDF5WPK00Csh0bfKYrBVNPjThKdeIVIU2P51zYQOV44CjORmDL2nkV/EAyFusq6GBjxz/GV0kFiYlrwBAm0jWSOc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+97580+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 167149676580977.02924498076266; Mon, 19 Dec 2022 16:39:25 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id nHFHYY1788612xgvkIsSa4zf; Mon, 19 Dec 2022 16:39:25 -0800 X-Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.97583.1671006144966362606 for ; Wed, 14 Dec 2022 00:22:25 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="380548858" X-IronPort-AV: E=Sophos;i="5.96,243,1665471600"; d="scan'208";a="380548858" X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 00:22:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="823189514" X-IronPort-AV: E=Sophos;i="5.96,243,1665471600"; d="scan'208";a="823189514" X-Received: from jenkailx-win10.gar.corp.intel.com ([10.227.107.9]) by orsmga005.jf.intel.com with ESMTP; 14 Dec 2022 00:22:09 -0800 From: kasimx.liu@intel.com To: devel@edk2.groups.io Cc: KasimX Liu , Guo Dong , Ray Ni , James Lu , Gua Guo Subject: [edk2-devel] [PATCH] UefiPayloadPkg: Remove RTC_INDEX/TARGET from UplBuild macro list Date: Wed, 14 Dec 2022 16:21:36 +0800 Message-Id: <9259691a5fbc572a4852e9c3e3a5a4f04927f609.1671005803.git.kasimx.liu@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kasimx.liu@intel.com X-Gm-Message-State: YiAFjJNnniA2lR6uCGY5WyFPx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1671496765; bh=I93Oi5D5BPK/3QfsAKHEPL9wj743ZOTtEyFJ+RBdHBg=; h=Cc:Date:From:Reply-To:Subject:To; b=g3g8XPFpGv337h3ipl95++k27pLH/JKAFT8Mq3Fl7IJe2GCwNmygohuaGAEAiO5/wzT OU22INAEJpnJuRuq8MRFIGw/Imhkyn2UBZRQhgUpnnGk8+CA5anYLwEnvkHBATxahABFQ /9zYROC/Xkq268/O2tsC154imvonBnzu86I= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1671496766976100002 Content-Type: text/plain; charset="utf-8" From: KasimX Liu REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4193 In order to remove RTC_INDEX/RTC_TARGET from the UplBuild macro list,change the RTC_INDEX /RTC_TARGET type from PcdsFixedAtBuild to PcdsDynamicEx Cc: Guo Dong Cc: Ray Ni Cc: James Lu Cc: Gua Guo Signed-off-by: KasimX Liu Reviewed-by: Gua Guo =20 --- PcAtChipsetPkg/PcAtChipsetPkg.dec | 16 ++++++++-------- UefiPayloadPkg/UefiPayloadPkg.dsc | 5 +++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dec b/PcAtChipsetPkg/PcAtChipset= Pkg.dec index ed2d95550b..a53ca777e8 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.dec +++ b/PcAtChipsetPkg/PcAtChipsetPkg.dec @@ -84,6 +84,14 @@ # @Prompt RTC Target Register address gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister64|0x0|UINT64|0x000000= 23 =20 + ## Specifies RTC Index Register address in I/O space. + # @Prompt RTC Index Register address + gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|0x70|UINT8|0x0000001E + + ## Specifies RTC Target Register address in I/O space. + # @Prompt RTC Target Register address + gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|0x71|UINT8|0x0000001F + [PcdsFixedAtBuild, PcdsPatchableInModule] ## Defines the ACPI register set base address. # The invalid 0xFFFF is as its default value. It must be configured to = the real value. @@ -146,14 +154,6 @@ # @Prompt Initial value for Register_D in RTC. gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD|0x00|UINT8|0x0= 000001D =20 - ## Specifies RTC Index Register address in I/O space. - # @Prompt RTC Index Register address - gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|0x70|UINT8|0x0000001E - - ## Specifies RTC Target Register address in I/O space. - # @Prompt RTC Target Register address - gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|0x71|UINT8|0x0000001F - ## RTC Update Timeout Value(microsecond). # @Prompt RTC Update Timeout Value. gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT3= 2|0x00000020 diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 723a50a422..82cff41780 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -471,8 +471,6 @@ !endif =20 [PcdsPatchableInModule.X64] - gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER) - gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER) !if $(NETWORK_DRIVER_ENABLE) =3D=3D TRUE gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE !endif @@ -579,6 +577,9 @@ gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE =20 + gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER) + gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|$(RTC_TARGET_REGISTER) + ##########################################################################= ###### # # Components Section - list of all EDK II Modules needed by this Platform. --=20 2.32.0.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#97580): https://edk2.groups.io/g/devel/message/97580 Mute This Topic: https://groups.io/mt/95760072/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-