forked from M-Labs/zynq-rs
Remove cfg for eth
This commit is contained in:
parent
eae21579bc
commit
bb76c13ee0
@ -154,8 +154,6 @@ pub struct Eth<GEM: Gem, RX, TX> {
|
||||
|
||||
impl Eth<Gem0, (), ()> {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user