summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2020-08-20 15:58:40 -0700
committerFurquan Shaikh <furquan@google.com>2020-08-25 18:27:59 +0000
commiteb7a1dd80e72ef435c71650284f355f7f57ebe72 (patch)
tree4381ec545d3679db1af53cebc4eb66e4a668c6d2
parent90aeb4d1b5154c7978414f11b3b37cc9b4782b29 (diff)
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 <nvaccaro@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44647 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Rob Barnes <robbarnes@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--util/spd_tools/intel/lp4x/gen_part_id.go1
1 files changed, 1 insertions, 0 deletions
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++ {