summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2021-02-08 08:49:06 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-10 07:19:48 +0000
commit6c2f34ab3205be2098274df7145f2d5b69fd1cfc (patch)
tree85f3819ee9ba857d64d95208ab47c570f2029dd7 /src
parent1cd95b0acf588f8f4d8ae76e7899e00ab377dae2 (diff)
mb/prodrive/hermes: Drop reset functions
The reset GPIOs are already configured in bootblock. Drop the unused ramstage code. Change-Id: Ic99fcae2a3f00be7eebd7be618df838522dac69f Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50380 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/prodrive/hermes/mainboard.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/mainboard/prodrive/hermes/mainboard.c b/src/mainboard/prodrive/hermes/mainboard.c
index f2bbbba46c..822ed58b81 100644
--- a/src/mainboard/prodrive/hermes/mainboard.c
+++ b/src/mainboard/prodrive/hermes/mainboard.c
@@ -25,21 +25,6 @@ static void mb_configure_dp3_pwr(bool enable)
gpio_output(GPP_K5, enable);
}
-static void mb_pcie_reset_pch_slots(bool enable)
-{
- gpio_output(GPP_K0, enable);
-}
-
-static void mb_pcie_reset_cpu_slots(bool enable)
-{
- gpio_output(GPP_K1, enable);
-}
-
-static void mb_pcie_reset_cnvi_slot(bool enable)
-{
- gpio_output(GPP_K2, enable);
-}
-
static void mb_hda_amp_enable(bool enable)
{
gpio_output(GPP_C19, enable);
@@ -136,11 +121,7 @@ static void mainboard_enable(struct device *dev)
mb_configure_dp1_pwr(1);
mb_configure_dp2_pwr(1);
mb_configure_dp3_pwr(1);
- if (0) {
- mb_pcie_reset_pch_slots(1);
- mb_pcie_reset_cpu_slots(0);
- mb_pcie_reset_cnvi_slot(0);
- }
+
mb_hda_amp_enable(1);
mb_usb31_rp1_pwr_enable(1);
mb_usb31_rp2_pwr_enable(1);