summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/bilby/Kconfig
diff options
context:
space:
mode:
authorAamir Bohra <aamirbohra@gmail.com>2021-03-31 17:35:20 +0530
committerPaul Fagerburg <pfagerburg@chromium.org>2021-08-04 15:16:05 +0000
commit9fe70ed1975cce3fd839a975c71e6c6bf0013d98 (patch)
tree503f92d8d9a40299e2771fb449e6dc4c3494c605 /src/mainboard/amd/bilby/Kconfig
parent9e34060d52533b5f0891d2a31beb65946d27e082 (diff)
mb/amd/bilby: Add support for HDMI display
DDI 0/1 ports are shared for DP and HDMI. This implementation adds support for HDMI display when HDMI is set as connector type in ddi descriptors. TEST=verify display over HDMI(0 and 1) in OS. Signed-off-by: Aamir Bohra <aamirbohra@gmail.com> Change-Id: I9697211c556f12d1fc0d49418b227fbe6b342673 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56756 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/amd/bilby/Kconfig')
-rw-r--r--src/mainboard/amd/bilby/Kconfig32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mainboard/amd/bilby/Kconfig b/src/mainboard/amd/bilby/Kconfig
index 9510238944..daa6b6ef54 100644
--- a/src/mainboard/amd/bilby/Kconfig
+++ b/src/mainboard/amd/bilby/Kconfig
@@ -106,4 +106,36 @@ config EFS_SPI_MICRON_FLAG
int
default 0
+choice
+ prompt "DDI-0 connector type"
+ default CONNECT_DP_ON_DDI_0
+
+config CONNECT_HDMI_ON_DDI_0
+ bool "Use HDMI interface"
+
+config CONNECT_DP_ON_DDI_0
+ bool "Use Displayport interface"
+endchoice
+
+config DDI0_CONNECTOR_TYPE
+ int
+ default 0 if CONNECT_DP_ON_DDI_0
+ default 4 if CONNECT_HDMI_ON_DDI_0
+
+choice
+ prompt "DDI-1 connector type"
+ default CONNECT_DP_ON_DDI_1
+
+config CONNECT_HDMI_ON_DDI_1
+ bool "Use HDMI interface"
+
+config CONNECT_DP_ON_DDI_1
+ bool "Use Displayport interface"
+endchoice
+
+config DDI1_CONNECTOR_TYPE
+ int
+ default 0 if CONNECT_DP_ON_DDI_1
+ default 4 if CONNECT_HDMI_ON_DDI_1
+
endif # BOARD_AMD_BILBY