soc/intel: Consolidate common code macro definitions in pci_devs.h
Move the SOC_I2C_DEVFN(n) macro definitions that were duplicated in a separate "for common code" section at the end of multiple platform pci_devs.h files. Platforms affected: - Alder Lake - Cannon Lake - Elkhart Lake - Jasper Lake - Skylake - Tiger Lake Change-Id: Ie3b3e6a25b0dba1beeadad1ab9acf59cafdbcf4a Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91446 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Guvendik, Bora <bora.guvendik@intel.com>
This commit is contained in:
parent
d03957e10f
commit
c940d20696
6 changed files with 6 additions and 18 deletions
|
|
@ -284,8 +284,6 @@
|
|||
#define PCI_DEVFN_UART2 PCH_DEVFN_UART2
|
||||
#define SOC_GSPI_DEVFN(n) PCH_DEVFN_GSPI##n
|
||||
#define SOC_PMC_DEV PCH_DEV_PMC
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
||||
#endif
|
||||
|
||||
/* for common code */
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
|
|
|||
|
|
@ -209,8 +209,6 @@
|
|||
#define PCI_DEVFN_UART1 PCH_DEVFN_UART1
|
||||
#define PCI_DEVFN_UART2 PCH_DEVFN_UART2
|
||||
#define SOC_GSPI_DEVFN(n) PCH_DEVFN_GSPI##n
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
||||
#endif
|
||||
|
||||
/* for common code */
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
|
|
|||
|
|
@ -252,8 +252,6 @@
|
|||
#define PCI_DEVFN_UART1 PCH_DEVFN_UART1
|
||||
#define PCI_DEVFN_UART2 PCH_DEVFN_UART2
|
||||
#define SOC_GSPI_DEVFN(n) PCH_DEVFN_GSPI##n
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
||||
#endif
|
||||
|
||||
/* for common code */
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
|
|
|||
|
|
@ -198,8 +198,6 @@
|
|||
#define PCI_DEVFN_UART1 PCH_DEVFN_UART1
|
||||
#define PCI_DEVFN_UART2 PCH_DEVFN_UART2
|
||||
#define SOC_GSPI_DEVFN(n) PCH_DEVFN_GSPI##n
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
||||
#endif
|
||||
|
||||
/* for common code */
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
|
|
|||
|
|
@ -192,8 +192,6 @@
|
|||
#define PCI_DEVFN_UART1 PCH_DEVFN_UART1
|
||||
#define PCI_DEVFN_UART2 PCH_DEVFN_UART2
|
||||
#define SOC_GSPI_DEVFN(n) PCH_DEVFN_GSPI##n
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
||||
#endif
|
||||
|
||||
/* for common code */
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
|
|
|||
|
|
@ -251,8 +251,6 @@
|
|||
#define PCI_DEVFN_UART2 PCH_DEVFN_UART2
|
||||
#define SOC_GSPI_DEVFN(n) PCH_DEVFN_GSPI##n
|
||||
#define SOC_PMC_DEV PCH_DEV_PMC
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
||||
#endif
|
||||
|
||||
/* for common code */
|
||||
#define SOC_I2C_DEVFN(n) PCH_DEVFN_I2C##n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue