From: Daniel Schwierzeck Date: Mon, 10 Jun 2019 14:37:10 +0200 Subject: [U-Boot] [RESEND Patch] net: mscc: refactor mscc_miim In-Reply-To: <1560086849-9723-1-git-send-email-horatiu.vultur@microchip.com> References: <1560086849-9723-1-git-send-email-horatiu.vultur@microchip.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 09.06.19 um 15:27 schrieb Horatiu Vultur: > Because all MSCC SoC use the same MDIO bus, put the implementation in > one common file(mscc_miim) and make all the other MSCC network drivers to > use these functions. > > Signed-off-by: Horatiu Vultur > --- > drivers/net/mscc_eswitch/Makefile | 10 +-- > drivers/net/mscc_eswitch/jr2_switch.c | 119 ++---------------------------- > drivers/net/mscc_eswitch/luton_switch.c | 101 +------------------------ > drivers/net/mscc_eswitch/mscc_miim.c | 28 +++++++ > drivers/net/mscc_eswitch/mscc_miim.h | 14 +++- > drivers/net/mscc_eswitch/ocelot_switch.c | 104 +------------------------- > drivers/net/mscc_eswitch/serval_switch.c | 101 +------------------------ > drivers/net/mscc_eswitch/servalt_switch.c | 102 +------------------------ > 8 files changed, 63 insertions(+), 516 deletions(-) > Reviewed-by: Daniel Schwierzeck -- - Daniel