diff options
author | Naresh G Solanki <naresh.solanki@intel.com> | 2016-09-15 18:14:28 +0530 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-19 20:49:44 +0200 |
commit | 21130c6508161ada1d28c90a4003c89afc3fd162 (patch) | |
tree | 28eb433ec818ff18ca12e846e621f472af3f83e9 /src/drivers/intel/fsp1_1/fsp_gop.c | |
parent | 767009aeab7986faa2a86b7c33fdc2a303583139 (diff) | |
download | coreboot-21130c6508161ada1d28c90a4003c89afc3fd162.tar.xz |
driver/intel/fsp1_1: Utilise soc/intel/common for adding vbt.bin
Remove fsp1.1 driver code that adds vbt.bin & use soc/intel/common
instead to add vbt.bin in cbfs.
Also, VBT blob is added to CBFS as RAW type hence when walking the
CBFS to find vbt.bin, search with type as RAW.
Change-Id: I08f2556a34f83a0ea2b67b003e51dcace994361b
Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com>
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/16610
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/intel/fsp1_1/fsp_gop.c')
-rw-r--r-- | src/drivers/intel/fsp1_1/fsp_gop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/intel/fsp1_1/fsp_gop.c b/src/drivers/intel/fsp1_1/fsp_gop.c index f531d7669a..6d905b29da 100644 --- a/src/drivers/intel/fsp1_1/fsp_gop.c +++ b/src/drivers/intel/fsp1_1/fsp_gop.c @@ -29,8 +29,7 @@ const optionrom_vbt_t *fsp_get_vbt(uint32_t *vbt_len) } vbt; /* Locate the vbt file in cbfs */ - vbt.data = cbfs_boot_map_with_leak("vbt.bin", CBFS_TYPE_OPTIONROM, - &vbt_size); + vbt.data = cbfs_boot_map_with_leak("vbt.bin", CBFS_TYPE_RAW, &vbt_size); if (!vbt.data) { printk(BIOS_INFO, "FSP_INFO: VBT data file (vbt.bin) not found in CBFS"); |