aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/cezanne/early_fch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/cezanne/early_fch.c')
-rw-r--r--src/soc/amd/cezanne/early_fch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/soc/amd/cezanne/early_fch.c b/src/soc/amd/cezanne/early_fch.c
index fdacb9f525..bddcbee418 100644
--- a/src/soc/amd/cezanne/early_fch.c
+++ b/src/soc/amd/cezanne/early_fch.c
@@ -35,9 +35,10 @@ static void reset_i2c_peripherals(void)
/* Initialize port80h routing early if needed */
void configure_port80_routing_early(void)
{
- mb_set_up_early_espi();
- if (CONFIG(SOC_AMD_COMMON_BLOCK_USE_ESPI))
+ if (CONFIG(SOC_AMD_COMMON_BLOCK_USE_ESPI)) {
+ mb_set_up_early_espi();
espi_setup();
+ }
}
/* Before console init */