mb/google/octopus: Override VBT selection for Dorp/Vortininja/Vorticon

Add enum for Vorticon sku.

Vortininja/Vorticon will load vbt_vortininja.bin
Dorp will load vbt_dorp.bin

BUG=b:143197918
BRANCH=octopus
TEST=emerge-octopus coreboot chromeos-bootimage
     check i915_drrs_status shows DRRS supported NO
     when SKU-ID sets to Dorp/Vortininja/Vorticon.

Change-Id: I67d7a8ab62a1838b0a0a05f532d8b067ece686d9
Cq-Depend: chrome-internal:2026287
Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36259
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
This commit is contained in:
Tony Huang 2019-10-23 20:02:47 +08:00 committed by Patrick Georgi
parent e4b9a1e156
commit 81e3b74301
2 changed files with 9 additions and 0 deletions

View File

@ -29,6 +29,8 @@ enum {
SKU_50_VORTININJA = 50, /* Stylus + no rear camera */
SKU_51_VORTININJA = 51, /* no Stylus + rear camera */
SKU_52_VORTININJA = 52, /* no Stylus + no rear camera */
SKU_65_VORTICON = 65, /* no touchscreen */
SKU_66_VORTICON = 66, /* with touchscreen */
};

View File

@ -53,6 +53,13 @@ const char *mainboard_vbt_filename(void)
case SKU_35_DORP:
case SKU_36_DORP:
return "vbt_dorp_hdmi.bin";
case SKU_49_VORTININJA:
case SKU_50_VORTININJA:
case SKU_51_VORTININJA:
case SKU_52_VORTININJA:
case SKU_65_VORTICON:
case SKU_66_VORTICON:
return "vbt_vortininja.bin";
default:
return "vbt.bin";
}