]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: sun8i_emac: Use consistent clock bitfield definitions
authorSamuel Holland <samuel@sholland.org>
Thu, 7 May 2020 23:10:50 +0000 (18:10 -0500)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 1 Jun 2020 17:08:22 +0000 (22:38 +0530)
commitabdbefba2a4e9666f798de13b4b88021f23b19f3
treee1be5220d85b0de508af1bc05ff484d14f31cb2b
parent5cfeeacaea24329625e6538345fcc3a8546c53f9
net: sun8i_emac: Use consistent clock bitfield definitions

While the R40 uses a different register for EMAC clock configuration
than other chips, the register has a very similar layout. Reuse the
existing bitfield definitions in this file, since they match.

This allows the driver to compile on the H6 platform, where the
CCM_GMAC_CTRL definitions are not present.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/net/sun8i_emac.c