diff options
author | Holger Brunck <holger.brunck@ch.abb.com> | 2020-01-13 15:34:02 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-23 07:29:58 -0500 |
commit | 95e3ce6a7fa9a6e0de598ce0b6597fddfb300faf (patch) | |
tree | d2110e47b45ba3034548a490077c8989f162a141 /board/keymile/km_arm/fpga_config.c | |
parent | 0e1c0f361edf590fcea9fcab6333d1a142934eeb (diff) |
arm/km: remove unmaintained board SUGP1
This target is out of maintenance and can be removed.
Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com>
CC: Valentin Longchamp <valentin.longchamp@ch.abb.com>
CC: Stefan Roese <sr@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/keymile/km_arm/fpga_config.c')
-rw-r--r-- | board/keymile/km_arm/fpga_config.c | 23 |
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 |