summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/fsp2_0/graphics.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/intel/fsp2_0/graphics.c b/src/drivers/intel/fsp2_0/graphics.c
index 84f2d6dc21..e2ff7cf4f8 100644
--- a/src/drivers/intel/fsp2_0/graphics.c
+++ b/src/drivers/intel/fsp2_0/graphics.c
@@ -99,8 +99,7 @@ uintptr_t fsp_load_vbt(void)
struct region_device rdev;
void *vbt_data = NULL;
- if (locate_vbt(&rdev) != CB_ERR)
- vbt_data = rdev_mmap_full(&rdev);
+ vbt_data = locate_vbt(&rdev);
if (vbt_data == NULL)
printk(BIOS_NOTICE, "Could not locate a VBT file in CBFS\n");