diff options
-rw-r--r-- | src/soc/intel/xeon_sp/cpx/hob_display.c | 2 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/skx/hob_display.c | 2 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/spr/hob_display.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/xeon_sp/cpx/hob_display.c b/src/soc/intel/xeon_sp/cpx/hob_display.c index 961f9080bb..87e2ef413e 100644 --- a/src/soc/intel/xeon_sp/cpx/hob_display.c +++ b/src/soc/intel/xeon_sp/cpx/hob_display.c @@ -102,7 +102,7 @@ static void soc_display_iio_universal_data_hob(const IIO_UDS *hob) printk(BIOS_DEBUG, "\tPci64BitResourceAllocation: %d\n", hob->PlatformData.Pci64BitResourceAllocation); - for (uint8_t s = 0; s < hob->PlatformData.numofIIO; ++s) { + for (uint8_t s = 0; s < MAX_SOCKET; ++s) { printk(BIOS_DEBUG, "\t============ Socket %d Info ================\n", s); printk(BIOS_DEBUG, "\tValid: 0x%x\n", hob->PlatformData.IIO_resource[s].Valid); diff --git a/src/soc/intel/xeon_sp/skx/hob_display.c b/src/soc/intel/xeon_sp/skx/hob_display.c index 9c03146ef3..bc65e64af3 100644 --- a/src/soc/intel/xeon_sp/skx/hob_display.c +++ b/src/soc/intel/xeon_sp/skx/hob_display.c @@ -151,7 +151,7 @@ void soc_display_iio_universal_data_hob(void) printk(BIOS_DEBUG, "\tMmiohGranularity: hi: 0x%x, lo:0x%x\n", hob->PlatformData.MmiohGranularity.hi, hob->PlatformData.MmiohGranularity.lo); - for (int s = 0; s < hob->PlatformData.numofIIO; ++s) { + for (int s = 0; s < MAX_SOCKET; ++s) { printk(BIOS_DEBUG, "\t============ Socket %d Info ================\n", s); printk(BIOS_DEBUG, "\tSocketID: 0x%x\n", hob->PlatformData.IIO_resource[s].SocketID); diff --git a/src/soc/intel/xeon_sp/spr/hob_display.c b/src/soc/intel/xeon_sp/spr/hob_display.c index cba2d9c8e7..582413cdfe 100644 --- a/src/soc/intel/xeon_sp/spr/hob_display.c +++ b/src/soc/intel/xeon_sp/spr/hob_display.c @@ -130,7 +130,7 @@ void soc_display_iio_universal_data_hob(const IIO_UDS *hob) printk(BIOS_DEBUG, "\tMmiohGranularity: hi: 0x%x, lo:0x%x\n", hob->PlatformData.MmiohGranularity.hi, hob->PlatformData.MmiohGranularity.lo); - for (uint8_t s = 0; s < hob->PlatformData.numofIIO; ++s) { + for (uint8_t s = 0; s < MAX_SOCKET; ++s) { printk(BIOS_DEBUG, "\t============ Socket %d Info ================\n", s); printk(BIOS_DEBUG, "\tValid: 0x%x\n", hob->PlatformData.IIO_resource[s].Valid); printk(BIOS_DEBUG, "\tSocketID: 0x%x\n", |