summaryrefslogtreecommitdiff
path: root/src/apps
diff options
context:
space:
mode:
authorChristian DREHER <[email protected]>2026-04-28 20:04:07 +0200
committerJerome Forissier <[email protected]>2026-05-06 11:07:22 +0200
commitd7fe1f4333a50b4a87fad1a22fae4524bba874f3 (patch)
tree6a2fabce5bb666ac8ccb9386a3be758be304bf8a /src/apps
parent361bb8f827b094cfff6adb56fc247e8d847209cd (diff)
net: macb: do not set user_io when it does not exist
Cadence Ethernet MAC has a feature named user_io, which provides some input and some output signals for arbitrary purpose in the SoC. From the driver code, I understand that, on Atmel SoC, it is used to drive the PHY mode. At least on Cadence IP7014 r1p12, this feature is optional, and I am working on a SoC that does not instantiate it. The presence of this feature is advertised in DCFG1, this patch merely disables the access to the user_io register based on this information. I did not apply this change to the non-gigabit capable versions of the IP, as I do not have documentation for them, and a new non-gigabit instance is unlikely to appear. I prefer avoiding regressions on old systems. Signed-off-by: Christian DREHER <[email protected]>
Diffstat (limited to 'src/apps')
0 files changed, 0 insertions, 0 deletions