From 7222f7e93043d51ef5487d5d807f20077116cc2d Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Fri, 9 Apr 2021 14:15:42 -0600 Subject: amd/common/blocks: Print eSPI peripheral channel BUG=none TEST=Boot guybrush with ESPI_DEBUG Signed-off-by: Raul E Rangel Change-Id: I4312aaedcfed1535ef00a4686f218d30e351b33f Reviewed-on: https://review.coreboot.org/c/coreboot/+/52226 Reviewed-by: Marshall Dawson Tested-by: build bot (Jenkins) --- src/soc/amd/common/block/lpc/espi_util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/soc/amd/common') 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); } -- cgit v1.2.3