diff options
author | Reka Norman <rekanorman@google.com> | 2021-09-08 18:50:58 +1000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-17 14:49:22 +0000 |
commit | 0e79274d33ed701d320bd4cc3b7c26b97120557d (patch) | |
tree | aca22f39037a9f973ff1b437ab03a8f19228bfae /util/spd_tools/Makefile | |
parent | 20795899999bab47ba875b0d2a2c7e0a6ff4effa (diff) |
util/spd_tools: Implement a unified version of the spd_gen tool
Currently there are two versions of spd_tools: one for LP4x and one for
DDR4. This change is the first step in unifying these into a single
tool.
This change implements a unified version of the spd_gen tool, by
combining the functionality currently in lp4x/gen_spd.go and
ddr4/gen_spd.go. The unified version takes the memory technology as an
argument, and generates SPD files for all platforms supporting that
technology.
BUG=b:191776301
TEST=Compare the SPDs generated by the old and new versions of the tool
for all supported platforms. For reference, the test script used is
here: https://review.coreboot.org/c/coreboot/+/57511
Signed-off-by: Reka Norman <rekanorman@google.com>
Change-Id: I7fc036996dbafbb54e075da0c3ac2ea0886a6db2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57512
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'util/spd_tools/Makefile')
-rw-r--r-- | util/spd_tools/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/util/spd_tools/Makefile b/util/spd_tools/Makefile new file mode 100644 index 0000000000..8a9d3924a1 --- /dev/null +++ b/util/spd_tools/Makefile @@ -0,0 +1,11 @@ +SPD_GEN = bin/spd_gen + +all: $(SPD_GEN) + +$(SPD_GEN): + go build -o $(SPD_GEN) src/spd_gen/*.go + +clean: + rm -rf bin/ + +.PHONY: all |