Commit c8a128a
committed
targets/vivaldi_ml1: Fix dual Ethernet build
Update the target to use the current CSR handler API for the two RMII PHYs.
Only attach BIOS/libliteeth network constants to the primary ethmac instance. The secondary ethmac1 instance is still instantiated and memory mapped for hardware/custom software use, but the current LiteX BIOS Ethernet stack is tied to CSR_ETHMAC_BASE and should not receive duplicate LOCALIP/REMOTEIP constants.
With the corresponding LiteX bus allocation fix, --with-ethernet now generates non-overlapping ethmac/ethmac1 SRAM windows.1 parent b1946df commit c8a128a
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
165 | 170 | | |
166 | 171 | | |
167 | 172 | | |
168 | 173 | | |
169 | 174 | | |
170 | 175 | | |
171 | | - | |
172 | | - | |
173 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
174 | 181 | | |
175 | 182 | | |
176 | 183 | | |
| |||
0 commit comments