soc/intel/xeon_sp: Add Granite Rapids initial codes
commita5487ba17ad1a531108abd6e9d468cf6645ba53e
authorShuo Liu <shuo.liu@intel.com>
Sun, 17 Mar 2024 16:42:42 +0000 (18 00:42 +0800)
committerLean Sheng Tan <sheng.tan@9elements.com>
Tue, 14 May 2024 20:49:04 +0000 (14 20:49 +0000)
tree075323bbf940041bbb06d31ebb4bb7ffe2066886
parented366c07bb95681906c2092c9714289736accd9d
soc/intel/xeon_sp: Add Granite Rapids initial codes

coreboot GNR (Granite Rapids) is a FSP 2.4 based, no-PCH, single
IO-APIC Xeon-SP platform. The same set of codes is also used
for SRF (Sierra Forest) SoC.

This patch initially sets the code set up as a build target with
Granite Rapids N-1 FSP (src/vc/intel/fsp/fsp2_0/graniterapids).

1. All register definitions are forked from SPR (Sapphire Rapids)
and EBG (Emmitsburg PCH)'s codes are reused.

2. src/soc/intel/xeon_sp/chip_gen6.c is newly added as chip
common codes for 6th Gen Xeon-SP SoC (Granite Rapids) and later.

Change-Id: I3084e1b5abf25d8d9504bebeaed2a15b916ed56b
Signed-off-by: Shuo Liu <shuo.liu@intel.com>
Co-authored-by: Gang Chen <gang.c.chen@intel.com>
Co-authored-by: Jincheng Li <jincheng.li@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81316
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
17 files changed:
src/soc/intel/xeon_sp/Makefile.mk
src/soc/intel/xeon_sp/chip_gen6.c [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/Kconfig [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/Makefile.mk [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/acpi/gpe.asl [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/chip.c [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/chip.h [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/chipset.cb [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/cpu.c [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/include/soc/cpu.h [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/include/soc/pci_devs.h [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/include/soc/soc_msr.h [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/include/soc/soc_util.h [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/ramstage.c [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/romstage.c [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/soc_acpi.c [new file with mode: 0644]
src/soc/intel/xeon_sp/gnr/soc_util.c [new file with mode: 0644]