diff options
author | Raul E Rangel <rrangel@chromium.org> | 2021-04-09 14:15:42 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-04-23 21:20:41 +0000 |
commit | 7222f7e93043d51ef5487d5d807f20077116cc2d (patch) | |
tree | 2294dff25c4cbe004df2d4820cdb471d112fa997 /src | |
parent | 570c654db777bd59714150de1684815c53d83e22 (diff) |
amd/common/blocks: Print eSPI peripheral channel
BUG=none
TEST=Boot guybrush with ESPI_DEBUG
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I4312aaedcfed1535ef00a4686f218d30e351b33f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52226
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/amd/common/block/lpc/espi_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/lpc/espi_util.c b/src/soc/amd/common/block/lpc/espi_util.c index f120082542..82f2a85b1c 100644 --- a/src/soc/amd/common/block/lpc/espi_util.c +++ b/src/soc/amd/common/block/lpc/espi_util.c @@ -814,6 +814,8 @@ static int espi_setup_periph_channel(const struct espi_config *mb_cfg, uint32_t slave_config &= ~slave_en_mask; } + espi_show_slave_peripheral_channel_configuration(slave_config); + return espi_set_channel_configuration(slave_config, ESPI_SLAVE_PERIPH_CFG, ESPI_PERIPH_CH_EN); } |