summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/guybrush/variants/guybrush/variant.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/variants/guybrush/variant.c b/src/mainboard/google/guybrush/variants/guybrush/variant.c
index 54ca6a0a7f..974e357cd9 100644
--- a/src/mainboard/google/guybrush/variants/guybrush/variant.c
+++ b/src/mainboard/google/guybrush/variants/guybrush/variant.c
@@ -4,6 +4,7 @@
#include <boardid.h>
#include <device/device.h>
#include <soc/gpio.h>
+#include <amdblocks/cpu.h>
bool variant_has_pcie_wwan(void)
{
@@ -14,3 +15,9 @@ uint8_t variant_sd_aux_reset_gpio(void)
{
return board_id() == 1 ? GPIO_70 : GPIO_69;
}
+
+void variant_update_ddi_descriptors(fsp_ddi_descriptor *ddi_descriptors)
+{
+ if ((get_cpu_count() == 4 && get_threads_per_core() == 2) || get_cpu_count() == 2)
+ ddi_descriptors[1].connector_type = DDI_UNUSED_TYPE;
+}