commit | 97f2cf16f09ccf7633e1eef1fe259c5622c31b97 | [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 | a1dba89be4f16d9aefc59a53ffa92af5a62ff7c0 [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>