util/spd_tools/spd_gen/lp5: Update BusWidth Encoding
commit55ba8df28c55284099ffc62bbf58c217ae412754
authorKarthikeyan Ramasubramanian <kramasub@chromium.org>
Wed, 2 Feb 2022 23:16:09 +0000 (2 16:16 -0700)
committerFelix Held <felix-coreboot@felixheld.de>
Tue, 8 Feb 2022 17:37:18 +0000 (8 17:37 +0000)
treeaebc4db687c02186af5380123e24002b810ca36c
parentceefc74f01bcfe070477107d0677acf6b9d9c372
util/spd_tools/spd_gen/lp5: Update BusWidth Encoding

ADL and Sabrina have different advisory regarding encoding the bus
width. Encode the bus width as per the respective advisories.

BUG=b:211510456
TEST=Build spd_gen and ensure that the bus width is encoded as expected.

Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Change-Id: Ia12a5bd8f70a70ca8a510ecf00f6268c6904ec25
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61639
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
util/spd_tools/src/spd_gen/lp5.go