From bb76c13ee01c8e5701ae48753e4e211522aaab1a Mon Sep 17 00:00:00 2001 From: newell Date: Thu, 5 Sep 2024 22:31:42 -0700 Subject: [PATCH] Remove cfg for eth --- libboard_zynq/src/eth/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/libboard_zynq/src/eth/mod.rs b/libboard_zynq/src/eth/mod.rs index 9d0c0d6..59e1d43 100644 --- a/libboard_zynq/src/eth/mod.rs +++ b/libboard_zynq/src/eth/mod.rs @@ -154,8 +154,6 @@ pub struct Eth { impl Eth { pub fn eth0(macaddr: [u8; 6]) -> Self { - // EBAZ4205 ETH uses EMIO - #[cfg(not(feature = "target_ebaz4205"))] slcr::RegisterBlock::unlocked(|slcr| { // Manual example: 0x0000_1280 // MDIO