util/spd_tools: output binaries instead of hexdumps
commitf23794cf04030bb8d1d7ebe0a3634dffd092e2f7
authorMichael Niewöhner <foss@mniewoehner.de>
Thu, 27 Aug 2020 22:59:19 +0000 (28 00:59 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 8 Sep 2020 05:46:41 +0000 (8 05:46 +0000)
tree4108c93827195d8cc9e799c9c7c324cfd1679214
parente10efa3a037c78c831a2b94c75eb0ab862412acf
util/spd_tools: output binaries instead of hexdumps

Instead of generating hexdumps, output binary SPD files since we plan to
convert all hex SPD files to binary. Also adjust the file extension
where needed.

Test: compared generated binaries with converted binaries from hex files

Change-Id: Ie99d108ca90758d09dbefad20fe6c9f7fc263ef1
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44878
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
util/spd_tools/ddr4/README.md
util/spd_tools/ddr4/gen_part_id.go
util/spd_tools/ddr4/gen_spd.go
util/spd_tools/lp4x/README.md
util/spd_tools/lp4x/gen_spd.go