From eb7a1dd80e72ef435c71650284f355f7f57ebe72 Mon Sep 17 00:00:00 2001 From: Nick Vaccaro Date: Thu, 20 Aug 2020 15:58:40 -0700 Subject: util: update lp4x gen_part_id tool to include memory type Add "MEMORY_TYPE = lp4x" to the generated Makefile.inc to indicate this is lpddr4x memory and to use the generic SPDs from the lpddr4x respository of SPDs. BUG=b:160157545 TEST=run gen_part_id for volteer and verify that it adds the line "MEMORY_TYPE = lp4x" to the makefile produced. Change-Id: I416690ae8aff8052474b16ef0d3e940e72e6a2fb Signed-off-by: Nick Vaccaro Reviewed-on: https://review.coreboot.org/c/coreboot/+/44647 Tested-by: build bot (Jenkins) Reviewed-by: Rob Barnes Reviewed-by: Furquan Shaikh --- util/spd_tools/intel/lp4x/gen_part_id.go | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/spd_tools/intel/lp4x/gen_part_id.go b/util/spd_tools/intel/lp4x/gen_part_id.go index 6c2ca11d1e..7ed255c83b 100644 --- a/util/spd_tools/intel/lp4x/gen_part_id.go +++ b/util/spd_tools/intel/lp4x/gen_part_id.go @@ -174,6 +174,7 @@ func genMakefile(partIdList []partIds, makefileDirName string) error { var s string s += fmt.Sprintf("%s\n%s\n\n", generatedCodeLicense, autoGeneratedInfo) + s += fmt.Sprintf("MEMORY_TYPE = lp4x\n\n") s += fmt.Sprintf("SPD_SOURCES =\n") for i := 0; i < len(partIdList); i++ { -- cgit v1.2.3