summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2017-10-05 18:19:29 +0200
committerPatrick Georgi <pgeorgi@google.com>2017-10-06 17:07:23 +0000
commitc6a005019874fed9a9f663953a850b76a5fbf96c (patch)
treeed34805925a4f3237d4283f7646377766b562822 /src/drivers
parent9d3de2649f46cc85269b4877f0d6e715a4fec5aa (diff)
downloadcoreboot-c6a005019874fed9a9f663953a850b76a5fbf96c.tar.xz
soc/intel/skylake: use locate_vbt directly instead of calling a wrapper
Change-Id: I65c423660ab1778f5dd9243e428a4d005bd1699a Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/21898 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/fsp2_0/graphics.c10
-rw-r--r--src/drivers/intel/fsp2_0/include/fsp/util.h7
2 files changed, 0 insertions, 17 deletions
diff --git a/src/drivers/intel/fsp2_0/graphics.c b/src/drivers/intel/fsp2_0/graphics.c
index f2888e8575..f1219ea15c 100644
--- a/src/drivers/intel/fsp2_0/graphics.c
+++ b/src/drivers/intel/fsp2_0/graphics.c
@@ -94,16 +94,6 @@ enum cb_err fsp_fill_lb_framebuffer(struct lb_framebuffer *framebuffer)
return CB_SUCCESS;
}
-uintptr_t fsp_load_vbt(void)
-{
- void *vbt_data = locate_vbt();
-
- if (vbt_data == NULL)
- printk(BIOS_NOTICE, "Could not locate a VBT file in CBFS\n");
-
- return (uintptr_t)vbt_data;
-}
-
int fill_lb_framebuffer(struct lb_framebuffer *framebuffer)
{
enum cb_err ret;
diff --git a/src/drivers/intel/fsp2_0/include/fsp/util.h b/src/drivers/intel/fsp2_0/include/fsp/util.h
index 402d48b273..6d53fda41f 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/util.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/util.h
@@ -85,13 +85,6 @@ bool fsp_guid_compare(const uint8_t guid1[16], const uint8_t guid2[16]);
enum cb_err fsp_validate_component(struct fsp_header *hdr,
const struct region_device *rdev);
-/* Load a vbt.bin file for graphics. Returns 0 if a valid VBT is not found. */
-#if IS_ENABLED(CONFIG_RUN_FSP_GOP)
-uintptr_t fsp_load_vbt(void);
-#else
-static inline uintptr_t fsp_load_vbt(void) { return 0; }
-#endif
-
/* Get igd framebuffer bar from SoC */
uintptr_t fsp_soc_get_igd_bar(void);