diff --git a/src/mainboard/google/brya/variants/moli/ramstage.c b/src/mainboard/google/brya/variants/moli/ramstage.c index 5690156c50..af563ba818 100644 --- a/src/mainboard/google/brya/variants/moli/ramstage.c +++ b/src/mainboard/google/brya/variants/moli/ramstage.c @@ -5,7 +5,9 @@ #include #include #include +#include #include +#include #include const struct cpu_power_limits limits[] = { @@ -30,6 +32,15 @@ const struct psys_config psys_config = { .bj_volts_mv = 19500 }; +const char *mainboard_vbt_filename(void) +{ + if (fw_config_probe(FW_CONFIG(DB_OPT, OPT_HDMI))) + return "vbt-moli_HDMI.bin"; + else if (fw_config_probe(FW_CONFIG(DB_OPT, OPT_DP))) + return "vbt-moli_DP.bin"; + return "vbt-moli.bin"; +} + void variant_devtree_update(void) { size_t total_entries = ARRAY_SIZE(limits);