Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48754 )
Change subject: soc/intel/alderlake: Add SPI DMI Destination ID ......................................................................
soc/intel/alderlake: Add SPI DMI Destination ID
Port commit 237afda (src/soc/intel/tigerlake: Add SPI DMI Destination ID) into Alderlake.
Change-Id: Ia0b465d405ab3c70b7d4094d32c182cab30fe531 Signed-off-by: Subrata Banik subrata.banik@intel.com --- M src/soc/intel/alderlake/include/soc/pcr_ids.h M src/soc/intel/alderlake/spi.c 2 files changed, 13 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/48754/1
diff --git a/src/soc/intel/alderlake/include/soc/pcr_ids.h b/src/soc/intel/alderlake/include/soc/pcr_ids.h index baeb708..e05ecd8 100644 --- a/src/soc/intel/alderlake/include/soc/pcr_ids.h +++ b/src/soc/intel/alderlake/include/soc/pcr_ids.h @@ -32,4 +32,10 @@ #define PID_ITSS 0xc4 #define PID_SERIALIO 0xcb
+ +/* + * SPI - DMI Destination ID + */ +#define SPI_DMI_DESTINATION_ID 0x23a8 + #endif diff --git a/src/soc/intel/alderlake/spi.c b/src/soc/intel/alderlake/spi.c index 2940de1..b02f2a2 100644 --- a/src/soc/intel/alderlake/spi.c +++ b/src/soc/intel/alderlake/spi.c @@ -6,8 +6,10 @@ * Chapter number: 7 */
+#include <intelblocks/fast_spi.h> #include <intelblocks/spi.h> #include <soc/pci_devs.h> +#include <soc/pcr_ids.h>
int spi_soc_devfn_to_bus(unsigned int devfn) { @@ -25,3 +27,8 @@ } return -1; } + +uint32_t soc_get_spi_dmi_destination_id(void) +{ + return SPI_DMI_DESTINATION_ID; +}
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48754 )
Change subject: soc/intel/alderlake: Add SPI DMI Destination ID ......................................................................
Patch Set 1:
Can we have a review here, please
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48754 )
Change subject: soc/intel/alderlake: Add SPI DMI Destination ID ......................................................................
Patch Set 1: Code-Review+2
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48754 )
Change subject: soc/intel/alderlake: Add SPI DMI Destination ID ......................................................................
Patch Set 1: Code-Review+2
Hung-Te Lin has submitted this change. ( https://review.coreboot.org/c/coreboot/+/48754 )
Change subject: soc/intel/alderlake: Add SPI DMI Destination ID ......................................................................
soc/intel/alderlake: Add SPI DMI Destination ID
Port commit 237afda (src/soc/intel/tigerlake: Add SPI DMI Destination ID) into Alderlake.
Change-Id: Ia0b465d405ab3c70b7d4094d32c182cab30fe531 Signed-off-by: Subrata Banik subrata.banik@intel.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/48754 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com Reviewed-by: Tim Wawrzynczak twawrzynczak@chromium.org --- M src/soc/intel/alderlake/include/soc/pcr_ids.h M src/soc/intel/alderlake/spi.c 2 files changed, 13 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/soc/intel/alderlake/include/soc/pcr_ids.h b/src/soc/intel/alderlake/include/soc/pcr_ids.h index baeb708..e05ecd8 100644 --- a/src/soc/intel/alderlake/include/soc/pcr_ids.h +++ b/src/soc/intel/alderlake/include/soc/pcr_ids.h @@ -32,4 +32,10 @@ #define PID_ITSS 0xc4 #define PID_SERIALIO 0xcb
+ +/* + * SPI - DMI Destination ID + */ +#define SPI_DMI_DESTINATION_ID 0x23a8 + #endif diff --git a/src/soc/intel/alderlake/spi.c b/src/soc/intel/alderlake/spi.c index 2940de1..b02f2a2 100644 --- a/src/soc/intel/alderlake/spi.c +++ b/src/soc/intel/alderlake/spi.c @@ -6,8 +6,10 @@ * Chapter number: 7 */
+#include <intelblocks/fast_spi.h> #include <intelblocks/spi.h> #include <soc/pci_devs.h> +#include <soc/pcr_ids.h>
int spi_soc_devfn_to_bus(unsigned int devfn) { @@ -25,3 +27,8 @@ } return -1; } + +uint32_t soc_get_spi_dmi_destination_id(void) +{ + return SPI_DMI_DESTINATION_ID; +}