summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2023-01-22 16:51:05 -0600
committerAndre Przywara <[email protected]>2023-04-12 00:17:21 +0100
commit3cfb1e69142a5cde251e43fa373d8c5a2b5cfae4 (patch)
treeddcd41e40f4f385ae89c3ab53695e01963b55ede /doc/develop
parent0e148342f764dad64bbb6ce40d92262e5f436c64 (diff)
net: sun8i-emac: Use common syscon setup for R40
While R40 puts the EMAC syscon register at a different address from other variants, the relevant portion of the register's layout is the same. Factor out the register offset so the same code can be shared by all variants. This matches what the Linux driver does. This change provides two benefits beyond the simplification: - R40 boards now respect the RX delays from the devicetree - This resolves a warning on architectures where readl/writel expect the address to have a pointer type, not phys_addr_t. Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Andre Przywara <[email protected]> Reviewed-by: Ramon Fried <[email protected]> Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions