From 27b4ae24f40854bb2a0395669aca2df491170010 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 30 Oct 2019 15:48:01 -0600 Subject: [PATCH] Only RP01 is a hotplug port --- src/mainboard/system76/cml-u/ramstage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/system76/cml-u/ramstage.c b/src/mainboard/system76/cml-u/ramstage.c index 6463343418..133627d150 100644 --- a/src/mainboard/system76/cml-u/ramstage.c +++ b/src/mainboard/system76/cml-u/ramstage.c @@ -80,8 +80,8 @@ static void mainboard_init(struct device *dev) { static bool mainboard_pcie_hotplug(int port_number) { printk(BIOS_DEBUG, "system76: pcie_hotplug(%d)\n", port_number); - /* RP01 and RP05 */ - return port_number == 0 || port_number == 4; + /* RP01 */ + return port_number == 0; } static void pcie_hotplug_generator(int port_number)