[PATCH 0/3] sunxi: Refactoring in prepration for H616

Andre Przywara andre.przywara at arm.com
Mon Jan 11 02:03:03 CET 2021


Hi,

I came up with those three patches to prepare for the H616.
Patch 1 simplifies the MMC driver, so the H616 support becomes a
one-liner.
Patch 2 cleans up the Ethernet driver, so we can support the same
compatible strings and fallbacks as Linux.
Patch 3 prepares the EMAC driver for the second EMAC (100MBit + internal
PHY). We need more code to actually use that PHY, but it's a start to
sort out the different syscon register offset.

Jernej, please feel free to include those in your H616 series, at least
1/3 and 2/3.

Cheers,
Andre

Andre Przywara (3):
  mmc: sunxi: Refactor mod clock register offset
  net: sun8i-emac: Always clear syscon EPHY register
  net: sun8i-emac: Simplify EPHY offset calculation

 drivers/mmc/sunxi_mmc.c  | 84 +++++++++++-----------------------------
 drivers/net/sun8i_emac.c | 43 ++++++++++----------
 2 files changed, 44 insertions(+), 83 deletions(-)

-- 
2.17.5



More information about the U-Boot mailing list