diff options
author | Usha P <usha.p@intel.com> | 2022-01-17 20:24:31 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-11 23:55:20 +0000 |
commit | af5a9d64a565d76dc472d1bb16e4adaa423ca0b5 (patch) | |
tree | 18fe763728b565713c33e037a40bad1cf0ebb5e1 /src/soc | |
parent | 6f0b5b3e6bc84dcf2edcc3f6af460af934de5e7f (diff) |
soc/intel/common: Re-use Alder Lake-M device IDs for Alder Lake-N
Few of the Alder Lake-N Device IDs according to EDS, are named as ADL_M
IDs in the current code. Hence rename those device IDs as ADL_M_N and
use them for Alder Lake-N platform.
Document Number: 619501, 645548
Signed-off-by: Usha P <usha.p@intel.com>
Change-Id: I6042017c6189cbc3ca9dce0e50acfb68ea4003f1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61162
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-by: Kangheui Won <khwon@chromium.org>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/alderlake/bootblock/report_platform.c | 2 | ||||
-rw-r--r-- | src/soc/intel/common/block/dsp/dsp.c | 14 | ||||
-rw-r--r-- | src/soc/intel/common/block/hda/hda.c | 14 | ||||
-rw-r--r-- | src/soc/intel/common/block/i2c/i2c.c | 12 | ||||
-rw-r--r-- | src/soc/intel/common/block/lpc/lpc.c | 62 | ||||
-rw-r--r-- | src/soc/intel/common/block/pcie/pcie.c | 14 | ||||
-rw-r--r-- | src/soc/intel/common/block/pmc/pmc.c | 2 | ||||
-rw-r--r-- | src/soc/intel/common/block/smbus/smbus.c | 2 | ||||
-rw-r--r-- | src/soc/intel/common/block/spi/spi.c | 6 | ||||
-rw-r--r-- | src/soc/intel/common/block/uart/uart.c | 8 |
10 files changed, 69 insertions, 67 deletions
diff --git a/src/soc/intel/alderlake/bootblock/report_platform.c b/src/soc/intel/alderlake/bootblock/report_platform.c index b419dda830..8902adffce 100644 --- a/src/soc/intel/alderlake/bootblock/report_platform.c +++ b/src/soc/intel/alderlake/bootblock/report_platform.c @@ -91,6 +91,8 @@ static struct { { PCI_DEVICE_ID_INTEL_ADP_P_ESPI_32, "Alderlake-P SKU" }, { PCI_DEVICE_ID_INTEL_ADP_P_ESPI_33, "Alderlake-P SKU" }, { PCI_DEVICE_ID_INTEL_ADP_M_ESPI_32, "Alderlake-M SKU" }, + { PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_1, "Alderlake-N SKU" }, + { PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_2, "Alderlake-N SKU" }, }; static struct { diff --git a/src/soc/intel/common/block/dsp/dsp.c b/src/soc/intel/common/block/dsp/dsp.c index dd272a3b31..35e167054a 100644 --- a/src/soc/intel/common/block/dsp/dsp.c +++ b/src/soc/intel/common/block/dsp/dsp.c @@ -34,13 +34,13 @@ static const unsigned short pci_device_ids[] = { PCI_DEVICE_ID_INTEL_ADP_S_AUDIO_6, PCI_DEVICE_ID_INTEL_ADP_S_AUDIO_7, PCI_DEVICE_ID_INTEL_ADP_S_AUDIO_8, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_1, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_2, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_3, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_4, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_5, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_6, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_7, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_1, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_2, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_3, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_4, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_5, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_6, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_7, 0, }; diff --git a/src/soc/intel/common/block/hda/hda.c b/src/soc/intel/common/block/hda/hda.c index 2816a8d8e4..1afc16c787 100644 --- a/src/soc/intel/common/block/hda/hda.c +++ b/src/soc/intel/common/block/hda/hda.c @@ -45,13 +45,13 @@ static const unsigned short pci_device_ids[] = { PCI_DEVICE_ID_INTEL_ADP_S_AUDIO_6, PCI_DEVICE_ID_INTEL_ADP_S_AUDIO_7, PCI_DEVICE_ID_INTEL_ADP_S_AUDIO_8, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_1, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_2, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_3, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_4, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_5, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_6, - PCI_DEVICE_ID_INTEL_ADP_M_AUDIO_7, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_1, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_2, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_3, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_4, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_5, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_6, + PCI_DEVICE_ID_INTEL_ADP_M_N_AUDIO_7, 0 }; diff --git a/src/soc/intel/common/block/i2c/i2c.c b/src/soc/intel/common/block/i2c/i2c.c index acfb053d6a..c1d75e0fa7 100644 --- a/src/soc/intel/common/block/i2c/i2c.c +++ b/src/soc/intel/common/block/i2c/i2c.c @@ -270,12 +270,12 @@ static const unsigned short pci_device_ids[] = { PCI_DEVICE_ID_INTEL_ADP_S_I2C3, PCI_DEVICE_ID_INTEL_ADP_S_I2C4, PCI_DEVICE_ID_INTEL_ADP_S_I2C5, - PCI_DEVICE_ID_INTEL_ADP_M_I2C0, - PCI_DEVICE_ID_INTEL_ADP_M_I2C1, - PCI_DEVICE_ID_INTEL_ADP_M_I2C2, - PCI_DEVICE_ID_INTEL_ADP_M_I2C3, - PCI_DEVICE_ID_INTEL_ADP_M_I2C4, - PCI_DEVICE_ID_INTEL_ADP_M_I2C5, + PCI_DEVICE_ID_INTEL_ADP_M_N_I2C0, + PCI_DEVICE_ID_INTEL_ADP_M_N_I2C1, + PCI_DEVICE_ID_INTEL_ADP_M_N_I2C2, + PCI_DEVICE_ID_INTEL_ADP_M_N_I2C3, + PCI_DEVICE_ID_INTEL_ADP_M_N_I2C4, + PCI_DEVICE_ID_INTEL_ADP_M_N_I2C5, 0, }; diff --git a/src/soc/intel/common/block/lpc/lpc.c b/src/soc/intel/common/block/lpc/lpc.c index ecaa4cf802..9706f92976 100644 --- a/src/soc/intel/common/block/lpc/lpc.c +++ b/src/soc/intel/common/block/lpc/lpc.c @@ -311,37 +311,37 @@ static const unsigned short pci_device_ids[] = { PCI_DEVICE_ID_INTEL_ADP_S_ESPI_30, PCI_DEVICE_ID_INTEL_ADP_S_ESPI_31, PCI_DEVICE_ID_INTEL_ADP_P_ESPI_32, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_0, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_1, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_2, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_3, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_4, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_5, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_7, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_8, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_9, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_10, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_11, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_12, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_13, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_14, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_15, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_16, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_17, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_18, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_19, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_20, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_21, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_22, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_23, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_24, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_25, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_26, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_27, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_28, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_29, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_30, - PCI_DEVICE_ID_INTEL_ADP_M_ESPI_31, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_0, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_1, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_2, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_3, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_4, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_5, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_7, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_8, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_9, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_10, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_11, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_12, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_13, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_14, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_15, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_16, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_17, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_18, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_19, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_20, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_21, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_22, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_23, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_24, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_25, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_26, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_27, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_28, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_29, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_30, + PCI_DEVICE_ID_INTEL_ADP_M_N_ESPI_31, PCI_DEVICE_ID_INTEL_ADP_M_ESPI_32, PCI_DEVICE_ID_INTEL_SPR_ESPI_1, 0 diff --git a/src/soc/intel/common/block/pcie/pcie.c b/src/soc/intel/common/block/pcie/pcie.c index 18f1bc5557..b17a1f37ce 100644 --- a/src/soc/intel/common/block/pcie/pcie.c +++ b/src/soc/intel/common/block/pcie/pcie.c @@ -356,16 +356,16 @@ static const unsigned short pcie_device_ids[] = { PCI_DEVICE_ID_INTEL_ADP_S_PCIE_RP26, PCI_DEVICE_ID_INTEL_ADP_S_PCIE_RP27, PCI_DEVICE_ID_INTEL_ADP_S_PCIE_RP28, - PCI_DEVICE_ID_INTEL_ADP_M_PCIE_RP1, - PCI_DEVICE_ID_INTEL_ADP_M_PCIE_RP2, - PCI_DEVICE_ID_INTEL_ADP_M_PCIE_RP3, - PCI_DEVICE_ID_INTEL_ADP_M_PCIE_RP4, + PCI_DEVICE_ID_INTEL_ADP_M_N_PCIE_RP1, + PCI_DEVICE_ID_INTEL_ADP_M_N_PCIE_RP2, + PCI_DEVICE_ID_INTEL_ADP_M_N_PCIE_RP3, + PCI_DEVICE_ID_INTEL_ADP_M_N_PCIE_RP4, PCI_DEVICE_ID_INTEL_ADP_M_PCIE_RP5, PCI_DEVICE_ID_INTEL_ADP_M_PCIE_RP6, - PCI_DEVICE_ID_INTEL_ADP_M_PCIE_RP7, + PCI_DEVICE_ID_INTEL_ADP_M_N_PCIE_RP7, PCI_DEVICE_ID_INTEL_ADP_M_PCIE_RP8, - PCI_DEVICE_ID_INTEL_ADP_M_PCIE_RP9, - PCI_DEVICE_ID_INTEL_ADP_M_PCIE_RP10, + PCI_DEVICE_ID_INTEL_ADP_M_N_PCIE_RP9, + PCI_DEVICE_ID_INTEL_ADP_M_N_PCIE_RP10, PCI_DEVICE_ID_INTEL_ADP_N_PCIE_RP11, PCI_DEVICE_ID_INTEL_ADP_N_PCIE_RP12, 0 diff --git a/src/soc/intel/common/block/pmc/pmc.c b/src/soc/intel/common/block/pmc/pmc.c index 560ab9b2d8..8598cb5d77 100644 --- a/src/soc/intel/common/block/pmc/pmc.c +++ b/src/soc/intel/common/block/pmc/pmc.c @@ -110,7 +110,7 @@ static const unsigned short pci_device_ids[] = { PCI_DEVICE_ID_INTEL_JSP_PMC, PCI_DEVICE_ID_INTEL_ADP_P_PMC, PCI_DEVICE_ID_INTEL_ADP_S_PMC, - PCI_DEVICE_ID_INTEL_ADP_M_PMC, + PCI_DEVICE_ID_INTEL_ADP_M_N_PMC, 0 }; diff --git a/src/soc/intel/common/block/smbus/smbus.c b/src/soc/intel/common/block/smbus/smbus.c index 6f8656b13e..94a54b7b7f 100644 --- a/src/soc/intel/common/block/smbus/smbus.c +++ b/src/soc/intel/common/block/smbus/smbus.c @@ -90,7 +90,7 @@ static const unsigned short pci_device_ids[] = { PCI_DEVICE_ID_INTEL_JSP_SMBUS, PCI_DEVICE_ID_INTEL_ADP_P_SMBUS, PCI_DEVICE_ID_INTEL_ADP_S_SMBUS, - PCI_DEVICE_ID_INTEL_ADP_M_SMBUS, + PCI_DEVICE_ID_INTEL_ADP_M_N_SMBUS, PCI_DEVICE_ID_INTEL_DNV_SMBUS_LEGACY, 0 }; diff --git a/src/soc/intel/common/block/spi/spi.c b/src/soc/intel/common/block/spi/spi.c index 6874cccb11..33d62c1975 100644 --- a/src/soc/intel/common/block/spi/spi.c +++ b/src/soc/intel/common/block/spi/spi.c @@ -94,7 +94,7 @@ static const unsigned short pci_device_ids[] = { PCI_DEVICE_ID_INTEL_JSP_HWSEQ_SPI, PCI_DEVICE_ID_INTEL_ADP_P_HWSEQ_SPI, PCI_DEVICE_ID_INTEL_ADP_S_HWSEQ_SPI, - PCI_DEVICE_ID_INTEL_ADP_M_HWSEQ_SPI, + PCI_DEVICE_ID_INTEL_ADP_M_N_HWSEQ_SPI, PCI_DEVICE_ID_INTEL_ADP_P_SPI0, PCI_DEVICE_ID_INTEL_ADP_P_SPI1, PCI_DEVICE_ID_INTEL_ADP_P_SPI2, @@ -109,8 +109,8 @@ static const unsigned short pci_device_ids[] = { PCI_DEVICE_ID_INTEL_ADP_S_SPI4, PCI_DEVICE_ID_INTEL_ADP_S_SPI5, PCI_DEVICE_ID_INTEL_ADP_S_SPI6, - PCI_DEVICE_ID_INTEL_ADP_M_SPI0, - PCI_DEVICE_ID_INTEL_ADP_M_SPI1, + PCI_DEVICE_ID_INTEL_ADP_M_N_SPI0, + PCI_DEVICE_ID_INTEL_ADP_M_N_SPI1, PCI_DEVICE_ID_INTEL_ADP_M_SPI2, PCI_DEVICE_ID_INTEL_SPR_HWSEQ_SPI, 0 diff --git a/src/soc/intel/common/block/uart/uart.c b/src/soc/intel/common/block/uart/uart.c index 44bfd67498..2e70d05ba3 100644 --- a/src/soc/intel/common/block/uart/uart.c +++ b/src/soc/intel/common/block/uart/uart.c @@ -403,10 +403,10 @@ static const unsigned short pci_device_ids[] = { PCI_DEVICE_ID_INTEL_ADP_P_UART4, PCI_DEVICE_ID_INTEL_ADP_P_UART5, PCI_DEVICE_ID_INTEL_ADP_P_UART6, - PCI_DEVICE_ID_INTEL_ADP_M_UART0, - PCI_DEVICE_ID_INTEL_ADP_M_UART1, - PCI_DEVICE_ID_INTEL_ADP_M_UART2, - PCI_DEVICE_ID_INTEL_ADP_M_UART3, + PCI_DEVICE_ID_INTEL_ADP_M_N_UART0, + PCI_DEVICE_ID_INTEL_ADP_M_N_UART1, + PCI_DEVICE_ID_INTEL_ADP_M_N_UART2, + PCI_DEVICE_ID_INTEL_ADP_M_N_UART3, 0, }; |