diff options
-rw-r--r-- | src/soc/amd/cezanne/early_fch.c | 2 | ||||
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/espi.h | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/early_fch.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/cezanne/early_fch.c b/src/soc/amd/cezanne/early_fch.c index 69458b6220..f97f57c846 100644 --- a/src/soc/amd/cezanne/early_fch.c +++ b/src/soc/amd/cezanne/early_fch.c @@ -41,7 +41,7 @@ void fch_pre_init(void) /* Setup SPI base by calling lpc_early_init before setting up eSPI. */ lpc_early_init(); /* Setup eSPI to enable port80 routing. */ - configure_espi(); + configure_espi_with_mb_hook(); fch_spi_early_init(); fch_smbus_init(); fch_enable_cf9_io(); diff --git a/src/soc/amd/common/block/include/amdblocks/espi.h b/src/soc/amd/common/block/include/amdblocks/espi.h index 7e49ea0f2e..0f8066b2a6 100644 --- a/src/soc/amd/common/block/include/amdblocks/espi.h +++ b/src/soc/amd/common/block/include/amdblocks/espi.h @@ -132,7 +132,7 @@ int espi_setup(void); void mb_set_up_early_espi(void); /* Setup eSPI with any mainboard specific initialization. */ -static inline void configure_espi(void) +static inline void configure_espi_with_mb_hook(void) { /* If eSPI is setup in PSP Verstage, continue with that. Else setup eSPI to perform port80h routing as early as possible. */ diff --git a/src/soc/amd/picasso/early_fch.c b/src/soc/amd/picasso/early_fch.c index 8771e387bc..83b4ae4579 100644 --- a/src/soc/amd/picasso/early_fch.c +++ b/src/soc/amd/picasso/early_fch.c @@ -48,7 +48,7 @@ void fch_pre_init(void) /* Setup SPI base by calling lpc_early_init before setting up eSPI. */ lpc_early_init(); /* Setup eSPI to enable port80 routing. */ - configure_espi(); + configure_espi_with_mb_hook(); if (!CONFIG(SOC_AMD_COMMON_BLOCK_USE_ESPI)) lpc_configure_decodes(); |