src/soc/intel/tigerlake: Add SPI DMI Destination ID
This change adds the SPI-DMI Destination ID for tigerlake soc. This is needed for enabling support for extended BIOS region. Also, implements a SOC helper function soc_get_spi_dmi_destination_id() which returns SPI-DMI Destination id. BUG=b:171534504 Signed-off-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com> Change-Id: I0b6a8af0c1e79fa668ef2f84b93f3bbece59eb6a Reviewed-on: https://review.coreboot.org/c/coreboot/+/47989 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
609490854e
commit
237afda813
|
@ -31,4 +31,9 @@
|
||||||
#define PID_ESPI 0xc7
|
#define PID_ESPI 0xc7
|
||||||
#define PID_SERIALIO 0xcb
|
#define PID_SERIALIO 0xcb
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SPI - DMI Destination ID
|
||||||
|
*/
|
||||||
|
#define SPI_DMI_DESTINATION_ID 0x23a8
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <intelblocks/spi.h>
|
#include <intelblocks/spi.h>
|
||||||
|
#include <intelblocks/fast_spi.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
|
#include <soc/pcr_ids.h>
|
||||||
|
|
||||||
int spi_soc_devfn_to_bus(unsigned int devfn)
|
int spi_soc_devfn_to_bus(unsigned int devfn)
|
||||||
{
|
{
|
||||||
|
@ -23,3 +25,8 @@ int spi_soc_devfn_to_bus(unsigned int devfn)
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint32_t soc_get_spi_dmi_destination_id(void)
|
||||||
|
{
|
||||||
|
return SPI_DMI_DESTINATION_ID;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue