aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-07-14 17:38:14 +0200
committerElyes Haouas <ehaouas@noos.fr>2023-07-15 06:06:17 +0000
commit6319ee2cf791287e1e1fc56d1755e60a5eaeb2e6 (patch)
tree49d5d5a2d65eff7b524f5f484516a97f50586032 /src/mainboard/amd
parent6fedb56fd4810d69436a43bc0490225a26feadab (diff)
mb/amd/mayan: Remove useless break after return
Change-Id: Iad0244e798c03a26f755024453ecdd745e6286f3 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76473 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/mayan/port_descriptors.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mainboard/amd/mayan/port_descriptors.c b/src/mainboard/amd/mayan/port_descriptors.c
index 7d14e8c52c..61cf8b289f 100644
--- a/src/mainboard/amd/mayan/port_descriptors.c
+++ b/src/mainboard/amd/mayan/port_descriptors.c
@@ -139,15 +139,12 @@ static uint8_t get_ddi1_type(void)
case 0xc:
printk(BIOS_DEBUG, "Configuring DDI1 as HDMI.\n");
return DDI_HDMI;
- break;
case 0x13:
printk(BIOS_DEBUG, "Configuring DDI1 as DP.\n");
return DDI_DP;
- break;
case 0x14:
printk(BIOS_DEBUG, "Configuring DDI1 as eDP.\n");
return DDI_EDP;
- break;
default:
printk(BIOS_WARNING, "Unexpected display connector type %x. Disabling DDI1.\n",
connector_type);