1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * This file is created based on Intel Tiger Lake Processor PCH Datasheet
5 * Document number: 575857
9 #include <intelblocks/fast_spi.h>
10 #include <intelblocks/spi.h>
11 #include <soc/pci_devs.h>
14 #define PSF_SPI_DESTINATION_ID_H 0x23b0
15 #define PSF_SPI_DESTINATION_ID 0x23a8
17 int spi_soc_devfn_to_bus(unsigned int devfn
)
30 uint32_t soc_get_spi_psf_destination_id(void)
32 if (CONFIG(SOC_INTEL_TIGERLAKE_PCH_H
))
33 return PSF_SPI_DESTINATION_ID_H
;
34 return PSF_SPI_DESTINATION_ID
;