]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Extend PcdSerialClockRate to dynamic type
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 10 Jun 2015 04:18:05 +0000 (04:18 +0000)
committerniruiyu <niruiyu@Edk2>
Wed, 10 Jun 2015 04:18:05 +0000 (04:18 +0000)
So it could allow platform module to change the serial clock rate per different hardware.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17606 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/MdeModulePkg.dec

index 39793b878f10e0ac85de6ec4c79726cfcd5e61a5..15d351d4ea13b88a7fe6f669a7a09c78f800dd95 100644 (file)
   # @Prompt Memory profile memory type.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileMemoryType|0x0|UINT64|0x30001042\r
 \r
-  ## UART clock frequency is for the baud rate configuration.\r
-  # @Prompt Serial Port Clock Rate.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|1843200|UINT32|0x00010066\r
-  \r
   ## PCI Serial Device Info. It is an array of Device, Function, and Power Management\r
   #  information that describes the path that contains zero or more PCI to PCI briges \r
   #  followed by a PCI serial device.  Each array entry is 4-bytes in length.  The \r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|25|UINT32|0x4000000e\r
 \r
 [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
+  ## UART clock frequency is for the baud rate configuration.\r
+  # @Prompt Serial Port Clock Rate.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|1843200|UINT32|0x00010066\r
+\r
   ## This PCD points to the front page formset GUID\r
   #  Compare the FormsetGuid or ClassGuid with this PCD value can detect whether in front page\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFrontPageFormSetGuid|{ 0xbc, 0x30, 0x0c, 0x9e,0x06, 0x3f, 0xa6, 0x4b, 0x82, 0x88, 0x9, 0x17, 0x9b, 0x85, 0x5d, 0xbe }|VOID*|0x0001006e\r