util/spd_tools/spd_gen/lp5: Encode Optional SDRAM features
commit3248db0e5a060271d7c1e87c4b687bec0b6c8d97
authorKarthikeyan Ramasubramanian <kramasub@chromium.org>
Wed, 9 Feb 2022 05:34:16 +0000 (8 22:34 -0700)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 17 Feb 2022 21:43:10 +0000 (17 21:43 +0000)
treeff992c63d507bdad2e99cebd58210244426b477d
parent6c4135e636afd0c5dc21f6ef185aba02e918cf30
util/spd_tools/spd_gen/lp5: Encode Optional SDRAM features

ADL and Sabrina provide different advisories to encode Optional SDRAM
features (byte indices 7 & 9). Encode those bytes as per the respective
advisories.

BUG=b:211510456
TEST=Generate the SPD binaries for Sabrina.

Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Change-Id: Icac8ae148458162768a919d9690d7bf96734e6c0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61730
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Reka Norman <rekanorman@chromium.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
spd/lp5/set-1/spd-1.hex
spd/lp5/set-1/spd-2.hex
spd/lp5/set-1/spd-3.hex
util/spd_tools/src/spd_gen/lp5.go