summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/MdeModulePkg.dec
diff options
context:
space:
mode:
authorBaraneedharan Anbazhagan <anbazhagan@hp.com>2022-09-07 23:23:32 -0500
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-09-13 02:51:27 +0000
commitdb7afaee91423e988df3160624d04c3c534f294d (patch)
tree141de8edbe083b7857e5ed872ac363f6a32a0127 /MdeModulePkg/MdeModulePkg.dec
parent970e26294905d2d27369cf4041c6778105754f5e (diff)
downloadedk2-db7afaee91423e988df3160624d04c3c534f294d.tar.gz
edk2-db7afaee91423e988df3160624d04c3c534f294d.tar.bz2
edk2-db7afaee91423e988df3160624d04c3c534f294d.zip
MdeModulePkg: Use configurable PCD for AHCI command retries
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4011 AHCI commands are retried internally which prevents platform feature like drive password to process correctly entered password on subsequent attempts. PCD allows the platform to determine the number of retries. Signed-off-by: Baraneedharan Anbazhagan <anbazhagan@hp.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'MdeModulePkg/MdeModulePkg.dec')
-rw-r--r--MdeModulePkg/MdeModulePkg.dec4
1 files changed, 4 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index 7d98910832..58e6ab0048 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -1574,6 +1574,10 @@
# @Prompt SD/MMC Host Controller Operations Timeout (us).
gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcGenericTimeoutValue|1000000|UINT32|0x00000031
+ ## The Retry Count of AHCI command if there is a failure
+ # @Prompt The value of Retry Count, Default value is 5.
+ gEfiMdeModulePkgTokenSpaceGuid.PcdAhciCommandRetryCount|5|UINT32|0x00000032
+
[PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
## This PCD defines the Console output row. The default value is 25 according to UEFI spec.
# This PCD could be set to 0 then console output would be at max column and max row.