diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/volteer/variants/baseboard/devicetree.cb | 4 | ||||
-rw-r--r-- | src/mainboard/google/volteer/variants/lindar/variant.c | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb index 58d1aac79b..c51422c653 100644 --- a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb @@ -68,6 +68,10 @@ fw_config option WIFI_SAR_ID_2 2 option WIFI_SAR_ID_3 3 end + field OLED_SCREEN 28 + option OLED_NOT_PRESENT 0 + option OLED_PRESENT 1 + end end chip soc/intel/tigerlake diff --git a/src/mainboard/google/volteer/variants/lindar/variant.c b/src/mainboard/google/volteer/variants/lindar/variant.c index 2d10dc6fc1..0f985985e2 100644 --- a/src/mainboard/google/volteer/variants/lindar/variant.c +++ b/src/mainboard/google/volteer/variants/lindar/variant.c @@ -2,6 +2,7 @@ #include <fw_config.h> #include <sar.h> +#include <drivers/intel/gma/opregion.h> const char *get_wifi_sar_cbfs_filename(void) { @@ -12,3 +13,10 @@ const char *get_wifi_sar_cbfs_filename(void) return WIFI_SAR_CBFS_DEFAULT_FILENAME; } + +const char *mainboard_vbt_filename(void) +{ + if (fw_config_probe(FW_CONFIG(OLED_SCREEN, OLED_PRESENT))) + return "vbt-oled.bin"; + return "vbt.bin"; +} |