mb/intel/adlrvp: Support VBT binaries for LP4 and LP5

This will enable to include multiple VBT binaries in a single image
and load corresponding file according to HW configuration.

BUG=None
TEST= Boot device on LP5/LP4, corresponding VBT file should be loaded.

Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>
Change-Id: Iace0e5e0783b2074393a537da8cc645102d2acda
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55969
Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
Reviewed-by: Anil Kumar K <anil.kumar.k@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Bernardo Perez Priego 2021-06-29 11:21:59 -07:00 committed by Nick Vaccaro
parent c29df438c4
commit 7c1eda0cbc
1 changed files with 3 additions and 0 deletions

View File

@ -68,10 +68,13 @@ const char *mainboard_vbt_filename(void)
switch (sku_id) {
case ADL_P_LP5_1:
case ADL_P_LP5_2:
case ADL_M_LP5:
return "vbt_adlrvp_lp5.bin";
case ADL_P_DDR5_1:
case ADL_P_DDR5_2:
return "vbt_adlrvp_ddr5.bin";
case ADL_M_LP4:
return "vbt_adlrvp_lp4.bin";
default:
return "vbt.bin";
}