From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.16030.1671435589731226275 for ; Sun, 18 Dec 2022 23:39:49 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=brWRh+al; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: kasimx.liu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671435589; x=1702971589; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=IiOVMNLSFx807vtBpZbhXBaSXJ9XnUnl6/DdodzHu8E=; b=brWRh+alpJqzL+X78KepQedWSCs7Rf4IYb5w9nX9mPFVnCg+ZkfxvkNK WseFOoEfAnIrcm/sgguKfgs+/kgOpxA31HHMCW6GYK1njSP7Zy2LSFgfy /jUzB5oa86V313NPx6E0pQ7yrXsOiAoOrKhb4Z5kgoS+/Y3VYiSdX+zFU 1wADHqqj4ASdXiECL0cY+VU1QfsvJxBC3yHjEDlTjIEJMNZoE4BB5F95q sabgz1Fq3rJqT7Q3Nj8BDHe5Q2R2i+uPYU3/BAnorDRdiP3L7/XVF8a1R htlQfHS0aqL5AYdi7MLa6Ff/c/v3j4J1AtcsXv/udW7nY0iA0liYR+PQO w==; X-IronPort-AV: E=McAfee;i="6500,9779,10565"; a="306967340" X-IronPort-AV: E=Sophos;i="5.96,255,1665471600"; d="scan'208";a="306967340" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2022 23:39:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10565"; a="652600462" X-IronPort-AV: E=Sophos;i="5.96,255,1665471600"; d="scan'208";a="652600462" Received: from jenkailx-win10.gar.corp.intel.com ([10.227.107.9]) by fmsmga007.fm.intel.com with ESMTP; 18 Dec 2022 23:39:46 -0800 From: kasimx.liu@intel.com To: devel@edk2.groups.io Cc: KasimX Liu , Guo Dong , Ray Ni , James Lu , Gua Guo Subject: [PATCH v2] PcAtChipsetPkg: Move RTC PCD to dynamic PCD Date: Mon, 19 Dec 2022 15:39:44 +0800 Message-Id: <20221219073944.3142-1-kasimx.liu@intel.com> X-Mailer: git-send-email 2.32.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 --- PcAtChipsetPkg/PcAtChipsetPkg.dec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 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=0D gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister64|0x0|UINT64|0x000000= 23=0D =0D + ## Specifies RTC Index Register address in I/O space.=0D + # @Prompt RTC Index Register address=0D + gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|0x70|UINT8|0x0000001E= =0D +=0D + ## Specifies RTC Target Register address in I/O space.=0D + # @Prompt RTC Target Register address=0D + gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|0x71|UINT8|0x0000001F= =0D +=0D [PcdsFixedAtBuild, PcdsPatchableInModule]=0D ## Defines the ACPI register set base address.=0D # The invalid 0xFFFF is as its default value. It must be configured to = the real value.=0D @@ -146,14 +154,6 @@ # @Prompt Initial value for Register_D in RTC.=0D gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD|0x00|UINT8|0x0= 000001D=0D =0D - ## Specifies RTC Index Register address in I/O space.=0D - # @Prompt RTC Index Register address=0D - gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|0x70|UINT8|0x0000001E= =0D -=0D - ## Specifies RTC Target Register address in I/O space.=0D - # @Prompt RTC Target Register address=0D - gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|0x71|UINT8|0x0000001F= =0D -=0D ## RTC Update Timeout Value(microsecond).=0D # @Prompt RTC Update Timeout Value.=0D gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT3= 2|0x00000020=0D --=20 2.32.0.windows.2