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>
This commit is contained in:
Patrick Rudolph 2021-02-08 08:49:06 +01:00 committed by Patrick Georgi
parent 1cd95b0acf
commit 6c2f34ab32
1 changed files with 1 additions and 20 deletions

View File

@ -25,21 +25,6 @@ static void mb_configure_dp3_pwr(bool enable)
gpio_output(GPP_K5, 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) static void mb_hda_amp_enable(bool enable)
{ {
gpio_output(GPP_C19, enable); gpio_output(GPP_C19, enable);
@ -136,11 +121,7 @@ static void mainboard_enable(struct device *dev)
mb_configure_dp1_pwr(1); mb_configure_dp1_pwr(1);
mb_configure_dp2_pwr(1); mb_configure_dp2_pwr(1);
mb_configure_dp3_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_hda_amp_enable(1);
mb_usb31_rp1_pwr_enable(1); mb_usb31_rp1_pwr_enable(1);
mb_usb31_rp2_pwr_enable(1); mb_usb31_rp2_pwr_enable(1);