From 01064308059dbc3a33a17939e67d58b661fe1484 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Wed, 18 Oct 2023 17:33:19 +0800 Subject: [PATCH] remove gpio reset --- libboard_zynq/src/error_led.rs | 2 -- libboard_zynq/src/eth/mod.rs | 1 - libboard_zynq/src/i2c/mod.rs | 2 -- 3 files changed, 5 deletions(-) diff --git a/libboard_zynq/src/error_led.rs b/libboard_zynq/src/error_led.rs index 933c82a..3be16f2 100644 --- a/libboard_zynq/src/error_led.rs +++ b/libboard_zynq/src/error_led.rs @@ -18,8 +18,6 @@ impl ErrorLED { .pullup(true) .disable_rcvr(true) ); - // reset - slcr.gpio_rst_ctrl.reset_gpio(); }); Self::error_led_common(0xFFFF - 0x0080) diff --git a/libboard_zynq/src/eth/mod.rs b/libboard_zynq/src/eth/mod.rs index 8349ba1..8667533 100644 --- a/libboard_zynq/src/eth/mod.rs +++ b/libboard_zynq/src/eth/mod.rs @@ -508,7 +508,6 @@ impl PhyRst { .pullup(true) .disable_rcvr(true) ); - slcr.gpio_rst_ctrl.reset_gpio(); }); Self::eth_reset_common(0xFFFF - 0x8000) } diff --git a/libboard_zynq/src/i2c/mod.rs b/libboard_zynq/src/i2c/mod.rs index bd43379..de1eb7c 100644 --- a/libboard_zynq/src/i2c/mod.rs +++ b/libboard_zynq/src/i2c/mod.rs @@ -53,8 +53,6 @@ impl I2c { .pullup(false) .disable_rcvr(true) ); - // Reset - slcr.gpio_rst_ctrl.reset_gpio(); }); Self::i2c_common(0xFFFF - 0x000C, 0xFFFF - 0x0002)