soc/amd/cezanne/early_fch: move mb_set_up_early_espi into if block
mb_set_up_early_espi should only be called when SOC_AMD_COMMON_BLOCK_USE_ESPI is selected. TEST=None Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ic8ad724a2a79c1995fbe9d97f11a0f69eed9435c Reviewed-on: https://review.coreboot.org/c/coreboot/+/57781 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
1140b7cc72
commit
9f17fa33f9
|
@ -35,10 +35,11 @@ static void reset_i2c_peripherals(void)
|
|||
/* Initialize port80h routing early if needed */
|
||||
void configure_port80_routing_early(void)
|
||||
{
|
||||
if (CONFIG(SOC_AMD_COMMON_BLOCK_USE_ESPI)) {
|
||||
mb_set_up_early_espi();
|
||||
if (CONFIG(SOC_AMD_COMMON_BLOCK_USE_ESPI))
|
||||
espi_setup();
|
||||
}
|
||||
}
|
||||
|
||||
/* Before console init */
|
||||
void fch_pre_init(void)
|
||||
|
|
Loading…
Reference in New Issue