diff options
author | Raul E Rangel <rrangel@chromium.org> | 2021-04-09 14:03:37 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-04-23 21:20:26 +0000 |
commit | 570c654db777bd59714150de1684815c53d83e22 (patch) | |
tree | 8cdefd9f83f1cee29fcc47c0d8f349c5afb3e0a4 /src/include/espi.h | |
parent | 74d14b8ff71c8c80ccdf4eaa6cd0b16e4821da54 (diff) | |
download | coreboot-570c654db777bd59714150de1684815c53d83e22.tar.xz |
lib/espi_debug: Add espi_show_slave_peripheral_channel_configuration
Prints out the following:
eSPI Slave Peripheral configuration:
Peripheral Channel Maximum Read Request Size: 64 bytes
Peripheral Channel Maximum Payload Size Selected: 64 bytes
Peripheral Channel Maximum Payload Size Supported: 64 bytes
Bus master: disabled
Peripheral Channel: ready
Peripheral Channel: enabled
BUG=none
TEST=boot guybrush
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I7d598ee4f0f9d8ec0b37767e6a5a70288be2cb86
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52225
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/include/espi.h')
-rw-r--r-- | src/include/espi.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/espi.h b/src/include/espi.h index 4be8543173..851b0d972a 100644 --- a/src/include/espi.h +++ b/src/include/espi.h @@ -230,8 +230,10 @@ #if CONFIG(ESPI_DEBUG) void espi_show_slave_general_configuration(uint32_t config); +void espi_show_slave_peripheral_channel_configuration(uint32_t config); #else -static void espi_show_slave_general_configuration(uint32_t config) {} +static inline void espi_show_slave_general_configuration(uint32_t config) {} +static inline void espi_show_slave_peripheral_channel_configuration(uint32_t config) {} #endif static inline bool espi_slave_supports_quad_io(uint32_t gen_caps) |