soc/amd/common/block/lpc: Set LPC_IO_PORT_DECODE_ENABLE to 0 when disabling decodes
This change sets LPC_IO_PORT_DECODE_ENABLE to 0 as part of lpc_disable_decodes() to ensure that the I/O port decodes are also disabled. Signed-off-by: Furquan Shaikh <furquan@google.com> Change-Id: I1474f561997f2ee1231bd0fcaab4d4d4e98ff923 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41251 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
13b8158672
commit
ca892fe44b
|
@ -182,6 +182,7 @@ void lpc_disable_decodes(void)
|
|||
reg = pci_read_config32(_LPCB_DEV, LPC_IO_OR_MEM_DECODE_ENABLE);
|
||||
reg &= LPC_SYNC_TIMEOUT_COUNT_MASK | LPC_SYNC_TIMEOUT_COUNT_ENABLE;
|
||||
pci_write_config32(_LPCB_DEV, LPC_IO_OR_MEM_DECODE_ENABLE, reg);
|
||||
pci_write_config32(_LPCB_DEV, LPC_IO_PORT_DECODE_ENABLE, 0);
|
||||
|
||||
/* D14F3x48 enables ranges configured in additional registers */
|
||||
pci_write_config32(_LPCB_DEV, LPC_MEM_PORT1, 0);
|
||||
|
|
Loading…
Reference in New Issue