summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/variants/pujjo/overridetree.cb4
-rw-r--r--src/mainboard/google/brya/variants/pujjo/variant.c12
2 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/pujjo/overridetree.cb b/src/mainboard/google/brya/variants/pujjo/overridetree.cb
index 3dffd31741..f1bee666ba 100644
--- a/src/mainboard/google/brya/variants/pujjo/overridetree.cb
+++ b/src/mainboard/google/brya/variants/pujjo/overridetree.cb
@@ -45,6 +45,10 @@ fw_config
option LTE_EM060_ABSENT 0
option LTE_EM060_PRESENT 1
end
+ field PANEL_IVO_BOE 21
+ option IVO_BOE_ABSENT 0
+ option IVO_BOE_PRESENT 1
+ end
end
diff --git a/src/mainboard/google/brya/variants/pujjo/variant.c b/src/mainboard/google/brya/variants/pujjo/variant.c
index 97e7e557d4..695f043978 100644
--- a/src/mainboard/google/brya/variants/pujjo/variant.c
+++ b/src/mainboard/google/brya/variants/pujjo/variant.c
@@ -3,6 +3,8 @@
#include <fw_config.h>
#include <baseboard/variants.h>
#include <baseboard/gpio.h>
+#include <console/console.h>
+#include <drivers/intel/gma/opregion.h>
#include <sar.h>
#include <delay.h>
@@ -68,3 +70,13 @@ void variant_init(void)
gpio_configure_pads(fm350_perst_pad, ARRAY_SIZE(fm350_perst_pad));
}
}
+
+const char *mainboard_vbt_filename(void)
+{
+ if (fw_config_probe(FW_CONFIG(PANEL_IVO_BOE, IVO_BOE_PRESENT))) {
+ printk(BIOS_INFO, "Use vbt-pujjo1e.bin\n");
+ return "vbt-pujjo1e.bin";
+ }
+ printk(BIOS_INFO, "Use vbt.bin\n");
+ return "vbt.bin";
+}