util/spd_tools: Add Intel Panther Lake (PTL) platform
This patch add support for PTL platform to the `spd_tools`. This would be useful to create dynamic SPD for fatcat variants. BUG=b:347669091 TEST=Able to generate SPD for LP5 DRAM part. Change-Id: I55c3f49439fb1ad961c6866f03594431e54279b9 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83822 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Ravishankar Sarawadi <ravishankar.sarawadi@intel.com>
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| # Generated by: | ||||
| # util/spd_tools/bin/spd_gen spd/lp5/memory_parts.json lp5 | ||||
|  | ||||
| PTL,set-0 | ||||
| MTL,set-0 | ||||
| ADL,set-0 | ||||
| PHX,set-1 | ||||
|   | ||||
| @@ -43,6 +43,7 @@ var supportedPlatforms = [...]string{ | ||||
| 	"MDN", | ||||
| 	"MTL", | ||||
| 	"PHX", | ||||
| 	"PTL", | ||||
| } | ||||
|  | ||||
| var supportedMemTechs = [...]string{ | ||||
|   | ||||
| @@ -176,7 +176,7 @@ const ( | ||||
| /* ------------------------------------------------------------------------------------------ */ | ||||
|  | ||||
| var LP5PlatformSetMap = map[int][]int{ | ||||
| 	0: {PlatformMTL, PlatformADL}, | ||||
| 	0: {PlatformPTL, PlatformMTL, PlatformADL}, | ||||
| 	1: {PlatformPHX, PlatformMDN}, | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -75,6 +75,7 @@ const ( | ||||
| 	PlatformMDN | ||||
| 	PlatformMTL | ||||
| 	PlatformPHX | ||||
| 	PlatformPTL | ||||
| 	PlatformMax | ||||
| ) | ||||
|  | ||||
| @@ -96,6 +97,7 @@ var platformNames = map[int]string{ | ||||
| 	PlatformMDN: "MDN", | ||||
| 	PlatformMTL: "MTL", | ||||
| 	PlatformPHX: "PHX", | ||||
| 	PlatformPTL: "PTL", | ||||
| } | ||||
|  | ||||
| var memTechMap = map[string]memTech{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user