coreboot/util/spd_tools/src
Sean Rhodes 9a8d22dcaa util/spd_tools: Improve spd_gen CLI for Make
Add options that simplify integrating spd_gen into build systems:
- Allow choosing an output directory via -out/--out.
- Allow writing a single SPD hex file from a single-part JSON input.
- Accept either {name, attribs/attributes} or a single-part
  memory_parts.json.
- Strip // and /* */ comments from JSON inputs.
- Allow selecting the SPD set number for single-file output via
  -set/--set (default: 0).

The set number selects which set-N attributes are used when generating a
single output .hex file.

Change-Id: Iebbdcdaea7dc69e37b048ad2113007fae5471bad
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89799
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2026-03-12 20:41:28 +00:00
..
part_id_gen util/spd_tools: Add Intel Panther Lake (PTL) platform 2024-08-09 09:24:18 +00:00
spd_gen util/spd_tools: Improve spd_gen CLI for Make 2026-03-12 20:41:28 +00:00