From nobody Mon Apr 29 03:36:43 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+97590+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+97590+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1671496844; cv=none; d=zohomail.com; s=zohoarc; b=Tp4VHVhCUUG1glZ+qFwt22GWOszYI15dPe3AxWO0zrnhL4yHh9qlCslr5k+cV1WW59Urd8WL3phhqKcrXk7NBFPcCMbiyLyfHd8EJ1gVTYf83AfoyixEcswSGdpCZVjhsW+b2UZIM5i7PooEK21UDAx6OplVc1S3kMV9LF4uxSA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671496844; 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=ohws8XJtaoJsqleHGklenj6eO5TWY+ruiER6I+MU0LE=; b=EU2AnLDG74A5U2UxNTpvdiLWn2yfagPrOq26YkUfgP3XhoZ0OiCO/QucguzZWSShfMQTmiqTafcztvze0p8c7PuDW3bAkLyhHmrbuv2M8omJoRI7IDSMbE5oYDOpTNFSWUeYKteoMi+pdWG1cn5dlfCJYGsHiIvo5sa1fGrmmbM= 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+97590+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 1671496844878409.1999978297073; Mon, 19 Dec 2022 16:40:44 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id juftYY1788612x7fgjXAB3cU; Mon, 19 Dec 2022 16:40:44 -0800 X-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 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" X-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" X-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: [edk2-devel] [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> 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: mLtBdTe7PCTqSAAo1qznRbPLx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1671496844; bh=YgFAbeYZlkDgOvhKp0onrmhFZ2W8uMNtG+5ZHtea/WQ=; h=Cc:Date:From:Reply-To:Subject:To; b=dXyDdECq4v6AVIFYM+qBEmADIso6Qz2L6f/Yj5bCoUejdmd7G6cII4SYRpgqlaRYLmV x2+vEucHbH1AL8lJv2OYQs3n8iGRsUjbi8XGXY9ELKAHMZ+t4hFDsUd+OgNEkzcJtDUmB IvwJ7EaiwdF3WTLsNxafco8yM2PA5csQl20= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1671496845327100012 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: Ray Ni --- 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 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 --=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 (#97590): https://edk2.groups.io/g/devel/message/97590 Mute This Topic: https://groups.io/mt/95760949/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-