coreboot/src/soc/intel
Angel Pons c7cfe0ba54 soc/intel: Refactor xdci_can_enable() function
The same pattern appears on all `xdci_can_enable()` call sites. Move the
logic inside the function and take the xDCI devfn as parameter.

Change-Id: I94c24c10c7fc7c5b4938cffca17bdfb853c7bd59
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55790
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2021-07-01 12:14:02 +00:00
..
alderlake soc/intel: Refactor xdci_can_enable() function 2021-07-01 12:14:02 +00:00
apollolake soc/intel: Refactor xdci_can_enable() function 2021-07-01 12:14:02 +00:00
baytrail src: Move select ARCH_X86 to platforms 2021-06-30 04:48:59 +00:00
braswell src: Move select ARCH_X86 to platforms 2021-06-30 04:48:59 +00:00
broadwell arch/x86/ioapic: Drop irq_on_fsb as a configurable item 2021-06-16 19:54:49 +00:00
cannonlake soc/intel: Refactor xdci_can_enable() function 2021-07-01 12:14:02 +00:00
common soc/intel: Refactor xdci_can_enable() function 2021-07-01 12:14:02 +00:00
denverton_ns src: Move select ARCH_X86 to platforms 2021-06-30 04:48:59 +00:00
elkhartlake soc/intel: Refactor xdci_can_enable() function 2021-07-01 12:14:02 +00:00
icelake soc/intel: Refactor xdci_can_enable() function 2021-07-01 12:14:02 +00:00
jasperlake soc/intel: Refactor xdci_can_enable() function 2021-07-01 12:14:02 +00:00
quark src: Move select ARCH_X86 to platforms 2021-06-30 04:48:59 +00:00
skylake soc/intel: Refactor xdci_can_enable() function 2021-07-01 12:14:02 +00:00
tigerlake soc/intel: Refactor xdci_can_enable() function 2021-07-01 12:14:02 +00:00
xeon_sp src: Move select ARCH_X86 to platforms 2021-06-30 04:48:59 +00:00
Kconfig fsp2_0: Gather Kconfig declarations 2020-04-05 23:26:24 +00:00