mb/ocp/deltalake: Make use of vpd_get_int to clean up code
commit9918c34d87ea2c4f87651eea9ee833937d9e79f4
authorJohnny Lin <johnny_lin@wiwynn.com>
Fri, 25 Dec 2020 05:43:45 +0000 (25 13:43 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 19 Jan 2021 09:00:58 +0000 (19 09:00 +0000)
tree03d76b4ea1dec3a5223dcc04bac1a69ea00303f4
parent418bc72d01f8662ff3e2bb4a96c800c369103b46
mb/ocp/deltalake: Make use of vpd_get_int to clean up code

Tested=On OCP Delta Lake, verify the VPD values can be read
correctly.

Change-Id: I1c27cb61cd52902c92b3733e53bc8e6fd6a5fe7f
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48908
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
src/mainboard/ocp/deltalake/ipmi.c
src/mainboard/ocp/deltalake/loglevel_vpd.c
src/mainboard/ocp/deltalake/romstage.c
src/mainboard/ocp/deltalake/vpd.h