mb/google/octopus: Override VBT selection for Blooglet

Share the same vbt_blooguard.bin to disalbe DRRS support.

BUG=b:143045247
BRANCH=octopus
TEST=emerge-octopus coreboot chromeos-bootimage
     check i915_drrs_status shows DRRS supported NO when SKU ID is blooglet.

Change-Id: Ia180f265080f801a09f10ce8a8b520c47f218775
Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36190
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
This commit is contained in:
Tony Huang 2019-10-21 16:16:47 +08:00 committed by Patrick Georgi
parent f88bad8331
commit 395a740bbf
1 changed files with 7 additions and 1 deletions

View File

@ -30,6 +30,10 @@ enum {
SKU_50_BLOOGUARD = 50, /* kb blit, USI Stylus */ SKU_50_BLOOGUARD = 50, /* kb blit, USI Stylus */
SKU_51_BLOOGUARD = 51, /* no kb blit, no USI Stylus */ SKU_51_BLOOGUARD = 51, /* no kb blit, no USI Stylus */
SKU_52_BLOOGUARD = 52, /* no kb blit, USI Stylus */ SKU_52_BLOOGUARD = 52, /* no kb blit, USI Stylus */
SKU_65_BLOOGLET = 65, /* TS, kb blit */
SKU_66_BLOOGLET = 66, /* TS, no kb blit */
SKU_67_BLOOGLET = 67, /* non-TS, kb blit */
SKU_68_BLOOGLET = 68, /* non-TS, no kb blit */
}; };
const char *get_wifi_sar_cbfs_filename(void) const char *get_wifi_sar_cbfs_filename(void)
@ -59,7 +63,9 @@ const char *mainboard_vbt_filename(void)
sku_id = get_board_sku(); sku_id = get_board_sku();
if (sku_id == SKU_49_BLOOGUARD || sku_id == SKU_50_BLOOGUARD || if (sku_id == SKU_49_BLOOGUARD || sku_id == SKU_50_BLOOGUARD ||
sku_id == SKU_51_BLOOGUARD || sku_id == SKU_52_BLOOGUARD) sku_id == SKU_51_BLOOGUARD || sku_id == SKU_52_BLOOGUARD ||
sku_id == SKU_65_BLOOGLET || sku_id == SKU_66_BLOOGLET ||
sku_id == SKU_67_BLOOGLET || sku_id == SKU_68_BLOOGLET)
return "vbt_blooguard.bin"; return "vbt_blooguard.bin";
return "vbt.bin"; return "vbt.bin";