soc/amd/common/espi: Don't set alert pin in espi_set_initial_config
The eSPI spec says that the Alert Mode defaults to in-band on reset. This change ensures the controller is in sync with the eSPI peripheral. The configured alert mode is configured in espi_set_general_configuration. BUG=b:187122344, b:186135022 TEST=Boot guybrush and make sure we don't get any eSPI errors. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Ib43e190d08d77ecfcd22ead2bf42e5de2202b555 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52953 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Rob Barnes <robbarnes@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
d2d762a4c9
commit
6eced03b25
|
@ -864,9 +864,6 @@ static void espi_set_initial_config(const struct espi_config *mb_cfg)
|
|||
{
|
||||
uint32_t espi_initial_mode = ESPI_OP_FREQ_16_MHZ | ESPI_IO_MODE_SINGLE;
|
||||
|
||||
if (mb_cfg->dedicated_alert_pin)
|
||||
espi_initial_mode |= ESPI_ALERT_MODE;
|
||||
|
||||
espi_write32(ESPI_SLAVE0_CONFIG, espi_initial_mode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue