> The DWMAC clock in i.MX8M Plus were so far configured via ad-hoc > architecture code. Replace that with DM clock instead. This way, > the driver claims all its required clock, enables and disables > them, and even gets the CSR clock rate and sets the TX clock rate, > without any need of architecture specific register fiddling. Drop > the architecture specific code while at it too. > The adjustment here is modeled after STM32MP15xx clock handling > in this driver. > Signed-off-by: Marek Vasut <ma...@denx.de> Applied to u-boot-imx, next, thanks !
Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de =====================================================================