From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Date: Mon, 11 Jan 2021 01:03:03 +0000 Subject: [PATCH 0/3] sunxi: Refactoring in prepration for H616 Message-ID: <20210111010306.6872-1-andre.przywara@arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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