From: "Ni, Ray" <ray.ni@intel.com>
To: "Liu, KasimX" <kasimx.liu@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Dong, Guo" <guo.dong@intel.com>,
"Lu, James" <james.lu@intel.com>, "Guo, Gua" <gua.guo@intel.com>
Subject: Re: [PATCH v2] PcAtChipsetPkg: Move RTC PCD to dynamic PCD
Date: Mon, 19 Dec 2022 07:43:20 +0000 [thread overview]
Message-ID: <MWHPR11MB16316A812BB74081DC9C89C48CE59@MWHPR11MB1631.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20221219073944.3142-1-kasimx.liu@intel.com>
The initial goal was to remove dynamic PCD dependency from bootloader.
Is that still the goal?
If yes, maybe depending on dynamic PCD is not a good idea.
Thanks,
Ray
> -----Original Message-----
> From: Liu, KasimX <kasimx.liu@intel.com>
> Sent: Monday, December 19, 2022 3:40 PM
> To: devel@edk2.groups.io
> Cc: Liu, KasimX <kasimx.liu@intel.com>; Dong, Guo <guo.dong@intel.com>; Ni, Ray <ray.ni@intel.com>; Lu, James
> <james.lu@intel.com>; Guo, Gua <gua.guo@intel.com>
> Subject: [PATCH v2] PcAtChipsetPkg: Move RTC PCD to dynamic PCD
>
> From: KasimX Liu <kasimx.liu@intel.com>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4193
>
> 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 <guo.dong@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: James Lu <james.lu@intel.com>
> Cc: Gua Guo <gua.guo@intel.com>
> Signed-off-by: KasimX Liu <kasimx.liu@intel.com>
> ---
> PcAtChipsetPkg/PcAtChipsetPkg.dec | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dec b/PcAtChipsetPkg/PcAtChipsetPkg.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|0x00000023
>
>
>
> + ## 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|0x0000001D
>
>
>
> - ## 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|UINT32|0x00000020
>
> --
> 2.32.0.windows.2
next prev parent reply other threads:[~2022-12-19 7:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-19 7:39 [PATCH v2] PcAtChipsetPkg: Move RTC PCD to dynamic PCD kasimx.liu
2022-12-19 7:43 ` Ni, Ray [this message]
2022-12-20 1:32 ` Guo, Gua
2022-12-20 8:54 ` Ni, Ray
2022-12-21 2:55 ` 回覆: " Liu, KasimX
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MWHPR11MB16316A812BB74081DC9C89C48CE59@MWHPR11MB1631.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox