cpuinfoapp: Add support for ICX-D and SPR
These CPUs definitions were added into libpeci, so now we can support
them in cpuinfoapp.
Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
Change-Id: Icd719cd106c337572b1cb919957ef5abbdb48be3
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1095c8a..6d0cfea 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,7 +79,7 @@
add_dependencies (cpuinfoapp libpeci)
externalproject_add (libpeci PREFIX ${CMAKE_BINARY_DIR}/libpeci
GIT_REPOSITORY https://github.com/openbmc/libpeci.git
- GIT_TAG a2ceec2aa139277cebb62e1eda449ef60fa4c962
+ GIT_TAG 6a00e9aa72f75d66eb8b9572c7fd3894f91c6bba
INSTALL_COMMAND "")
externalproject_get_property (libpeci SOURCE_DIR)
diff --git a/src/cpuinfo_main.cpp b/src/cpuinfo_main.cpp
index 6e44d71..c9dd3e5 100644
--- a/src/cpuinfo_main.cpp
+++ b/src/cpuinfo_main.cpp
@@ -404,6 +404,8 @@
switch (model)
{
case icx:
+ case icxd:
+ case spr:
{
// PPIN can be read through PCS 19
static constexpr uint8_t u8Size = 4; // default to a DWORD