From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Date: Mon, 6 Jul 2020 14:10:53 +0200 Subject: [PATCH 00/15] net: sun8i-emac fixes and cleanups In-Reply-To: <20200706004046.20842-1-andre.przywara@arm.com> References: <20200706004046.20842-1-andre.przywara@arm.com> Message-ID: <20200706121053.vrexmvang23okenk@gilmour.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jul 06, 2020 at 01:40:31AM +0100, Andre Przywara wrote: > Hi, > > while looking at several U-Boot network drivers in the past year, I > typically compared them to the sun8i-emac driver, as a kind of personal > reference. While doing so, I figured that there are quite some things > broken in here, and other things are not so nice. > This series attempts the fix those shortcomings. > Fix-wise we get proper handling of PHY failures (try without a > cable connected), support for external RMII PHYs (as seen on the > Pine64-non-plus model), and more future-proof internal PHY handling. > The rest of the patches are cleanups, which fix things that are wrong, > but we get away with so far, for one or another reason. > This also cleans up a good part of the cache maintenance. There is more > to be done (and I have patches for that), but that requires to drop > the overzealous alignment checks in cache_v7.c first, which is part of > another, upcoming series. > > A git repo with those patches can be found here: > https://github.com/apritzel/u-boot/commits/sun8i-emac-cleanup > > Please have a look and send comments! Acked-by: Maxime Ripard Thanks! Maxime