soc/amd/common/espi: Print set eSPI peripheral config
This will print the config we are setting on the eSPI peripheral. e.g., Setting general configuration: slave: 0x98a00000 controller: 0xe2000000 eSPI Slave configuration: CRC checking enabled Dedicated Alert# used to signal alert event eSPI quad IO mode selected Only eSPI single IO mode supported Alert# pin is open-drain eSPI 33MHz selected eSPI up to 20MHz supported Maximum Wait state: 0 BUG=b:187122344, b:186135022 TEST=Boot guybrush Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I1a2382d8ab3d3f0d14a139c57470cb895112eca9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52952 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Rob Barnes <robbarnes@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
afe1fe55eb
commit
d2d762a4c9
|
@ -705,6 +705,8 @@ static int espi_set_general_configuration(const struct espi_config *mb_cfg, uint
|
|||
printk(BIOS_INFO, "Setting general configuration: slave: 0x%x controller: 0x%x\n",
|
||||
slave_config, ctrlr_config);
|
||||
|
||||
espi_show_slave_general_configuration(slave_config);
|
||||
|
||||
if (espi_set_configuration(ESPI_SLAVE_GENERAL_CFG, slave_config) == -1)
|
||||
return -1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue