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>
This commit is contained in:
committed by
mergify[bot]
parent
970e262949
commit
db7afaee91
@ -193,7 +193,7 @@ typedef union {
|
||||
#define AHCI_PORT_DEVSLP_DITO_MASK 0x01FF8000
|
||||
#define AHCI_PORT_DEVSLP_DM_MASK 0x1E000000
|
||||
|
||||
#define AHCI_COMMAND_RETRIES 5
|
||||
#define AHCI_COMMAND_RETRIES (PcdGet32 (PcdAhciCommandRetryCount))
|
||||
|
||||
#pragma pack(1)
|
||||
//
|
||||
|
Reference in New Issue
Block a user