forked from M-Labs/zynq-rs
1
0
Fork 0

Remove cfg for eth

This commit is contained in:
newell 2024-09-05 22:31:42 -07:00
parent eae21579bc
commit bb76c13ee0
1 changed files with 0 additions and 2 deletions

View File

@ -154,8 +154,6 @@ pub struct Eth<GEM: Gem, RX, TX> {
impl Eth<Gem0, (), ()> { impl Eth<Gem0, (), ()> {
pub fn eth0(macaddr: [u8; 6]) -> Self { pub fn eth0(macaddr: [u8; 6]) -> Self {
// EBAZ4205 ETH uses EMIO
#[cfg(not(feature = "target_ebaz4205"))]
slcr::RegisterBlock::unlocked(|slcr| { slcr::RegisterBlock::unlocked(|slcr| {
// Manual example: 0x0000_1280 // Manual example: 0x0000_1280
// MDIO // MDIO