commit | abdbefba2a4e9666f798de13b4b88021f23b19f3 | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Thu May 07 18:10:50 2020 -0500 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Mon Jun 01 22:38:22 2020 +0530 |
tree | e1be5220d85b0de508af1bc05ff484d14f31cb2b | |
parent | 5cfeeacaea24329625e6538345fcc3a8546c53f9 [diff] |
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>