summaryrefslogtreecommitdiff
path: root/board/keymile/km_arm/fpga_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/keymile/km_arm/fpga_config.c')
-rw-r--r--board/keymile/km_arm/fpga_config.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/board/keymile/km_arm/fpga_config.c b/board/keymile/km_arm/fpga_config.c
index 99bea009fa..8bb0470bc3 100644
--- a/board/keymile/km_arm/fpga_config.c
+++ b/board/keymile/km_arm/fpga_config.c
@@ -199,29 +199,6 @@ int fpga_reset(void)
/* no dedicated reset pin for FPGA */
return 0;
}
-#elif defined(KM_PCIE_RESET_MPP7)
-
-#define KM_PEX_RST_GPIO_PIN 7
-int fpga_reset(void)
-{
- if (!check_boco2()) {
- /* we do not have BOCO2, this is not really used */
- return 0;
- }
-
- printf("PCIe reset through GPIO7: ");
- /* apply PCIe reset via GPIO */
- kw_gpio_set_valid(KM_PEX_RST_GPIO_PIN, 1);
- kw_gpio_direction_output(KM_PEX_RST_GPIO_PIN, 1);
- kw_gpio_set_value(KM_PEX_RST_GPIO_PIN, 0);
- udelay(1000*10);
- kw_gpio_set_value(KM_PEX_RST_GPIO_PIN, 1);
-
- printf(" done\n");
-
- return 0;
-}
-
#else
#define PRST1 0x4