aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/ocp/deltalake/vpd.h
diff options
context:
space:
mode:
authorJohnny Lin <johnny_lin@wiwynn.com>2020-12-25 13:43:45 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-01-19 09:00:58 +0000
commit9918c34d87ea2c4f87651eea9ee833937d9e79f4 (patch)
tree03d76b4ea1dec3a5223dcc04bac1a69ea00303f4 /src/mainboard/ocp/deltalake/vpd.h
parent418bc72d01f8662ff3e2bb4a96c800c369103b46 (diff)
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>
Diffstat (limited to 'src/mainboard/ocp/deltalake/vpd.h')
-rw-r--r--src/mainboard/ocp/deltalake/vpd.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mainboard/ocp/deltalake/vpd.h b/src/mainboard/ocp/deltalake/vpd.h
index 71a3b09202..82989ffd78 100644
--- a/src/mainboard/ocp/deltalake/vpd.h
+++ b/src/mainboard/ocp/deltalake/vpd.h
@@ -3,9 +3,6 @@
#ifndef DELTALAKE_VPD_H
#define DELTALAKE_VPD_H
-/* VPD variable maximum length */
-#define VPD_LEN 10
-
/* VPD variable for enabling/disabling FRB2 timer. 1/0: Enable/disable */
#define FRB2_TIMER "frb2_timer_enable"
#define FRB2_TIMER_DEFAULT 1 /* Default value when the VPD variable is not found */