summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp1_1
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2018-06-25 13:02:27 -0500
committerMatt DeVillier <matt.devillier@gmail.com>2018-06-27 15:38:12 +0000
commit06c373d16244862916c215c7e2474866ec46cd7e (patch)
tree4172106313fd7e2fffb69695703aee3d1e6d3083 /src/drivers/intel/fsp1_1
parent7875dbd9812e2359de2c5aed7754703138878466 (diff)
downloadcoreboot-06c373d16244862916c215c7e2474866ec46cd7e.tar.xz
drivers/intel/fsp1_1: Fix vbt_len type
Type of vbt_len should be size_t, change to fix compiler error Change-Id: I22798fa0edb98fcb9acc1b2dd52f34a61bc511e9 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/27224 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/drivers/intel/fsp1_1')
-rw-r--r--src/drivers/intel/fsp1_1/vbt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/fsp1_1/vbt.c b/src/drivers/intel/fsp1_1/vbt.c
index b73d3a293c..b6bb308ed9 100644
--- a/src/drivers/intel/fsp1_1/vbt.c
+++ b/src/drivers/intel/fsp1_1/vbt.c
@@ -26,7 +26,7 @@
void load_vbt(uint8_t s3_resume, SILICON_INIT_UPD *params)
{
const optionrom_vbt_t *vbt_data = NULL;
- uint32_t vbt_len;
+ size_t vbt_len;
/* Check boot mode - for S3 resume path VBT loading is not needed */
if (s3_resume) {