coreboot/src
Jincheng Li ad05c65d72 soc/intel/xeon_sp: Initialize SPI before using it
fast_spi_cache_bios_region() refers to the SPI BAR before it is
initialized. Therefore, move the initialization before this function
to obtain the correct value.

If SPI is not initialized before use, an incorrect MTRR item is observed:
[DEBUG]  0x00000000fffff005: PHYBASE2: Address = 0x00000000fffff000, WP
[DEBUG]  0x000ffffffffff800: PHYMASK2: Length  = 0x0000000000001000, Valid

TESTED=Build and boot on intel/avenuecity CRB, with below log:
[DEBUG]  0x00000000ff000005: PHYBASE2: Address = 0x00000000ff000000, WP
[DEBUG]  0x000fffffff000800: PHYMASK2: Length  = 0x0000000001000000, Valid

Change-Id: I8a755d2d18a567c09c5a66b03d4fdda5ba603133
Signed-off-by: Jincheng Li <jincheng.li@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88046
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
2025-06-13 15:23:23 +00:00
..
acpi
arch
commonlib treewide: Work around GCC 15 Werror=unterminated-string-initialization 2025-06-09 07:19:09 +00:00
console
cpu
device pci: Add support for assigning resources to SR-IOV VF BARs 2025-05-27 15:10:48 +00:00
drivers drivers/analogix/anx7625: Add a retry mechanism to decode EDID 2025-06-07 09:50:32 +00:00
ec ec/google: Add support for Realtek EC in ChromeOS EC 2025-06-07 15:03:35 +00:00
include soc/intel/pantherlake: Add support for the H204 SKU 2025-06-09 14:59:37 +00:00
lib
mainboard mb/trulo/var/pujjolo: Change dram id table 2025-06-13 12:13:19 +00:00
northbridge Haswell NRI: Measure per-task execution time 2025-06-11 13:25:59 +00:00
sbom
security security/vboot: Back up CMOS data later boot phase 2025-06-05 13:36:19 +00:00
soc soc/intel/xeon_sp: Initialize SPI before using it 2025-06-13 15:23:23 +00:00
southbridge
superio src/superio/nuvoton: Add HWM initialization code 2025-06-11 13:31:25 +00:00
vendorcode vc/intel/fsp/ptl: Update PTL header files to FSP 3182_01 2025-06-13 01:47:44 +00:00
Kconfig security/vboot: Back up CMOS data later boot phase 2025-06-05 13:36:19 +00:00