mb/google/guybrush/guybrush: Add variant to disable HDMI
For one specific type of APU, it doesn't have HDMI. When we detect this APU, we need to explicitly disable HDMI in DDI settings, otherwise the system would freeze. Please refer src/mainboard/google/guybrush/variants/dewatt/variant.c BUG=b:215432928 Change-Id: I93fca8cf9870533da1bcca5fa28ff22085e65beb Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61314 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user