ebaz4205 support #116

Merged
sb10q merged 10 commits from newell/zynq-rs:ebaz4205 into master 2024-09-30 14:08:58 +08:00
1 changed files with 0 additions and 2 deletions
Showing only changes of commit bb76c13ee0 - Show all commits

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