summaryrefslogtreecommitdiff
path: root/src/soc/intel/alderlake/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/alderlake/spi.c')
-rw-r--r--src/soc/intel/alderlake/spi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/soc/intel/alderlake/spi.c b/src/soc/intel/alderlake/spi.c
index b02f2a20fd..d1ef6cd570 100644
--- a/src/soc/intel/alderlake/spi.c
+++ b/src/soc/intel/alderlake/spi.c
@@ -9,7 +9,8 @@
#include <intelblocks/fast_spi.h>
#include <intelblocks/spi.h>
#include <soc/pci_devs.h>
-#include <soc/pcr_ids.h>
+
+#define PSF_SPI_DESTINATION_ID 0x23a8
int spi_soc_devfn_to_bus(unsigned int devfn)
{
@@ -28,7 +29,7 @@ int spi_soc_devfn_to_bus(unsigned int devfn)
return -1;
}
-uint32_t soc_get_spi_dmi_destination_id(void)
+uint32_t soc_get_spi_psf_destination_id(void)
{
- return SPI_DMI_DESTINATION_ID;
+ return PSF_SPI_DESTINATION_ID;
}