All clocks necessary for the fec are described in the device trees. This series enables them if found. After that change, all board files explicitly enabling them can rely on the fec driver. Michael Grzeschik (3): i.MX: fec: also enable optional clocks ARM: phytec-som-imx6: the ethernet clocks get enabled by fec_imx ARM: mx6sx-sabresdb: the ethernet clocks get enabled by fec_imx arch/arm/boards/freescale-mx6sx-sabresdb/board.c | 27 +--------------------- arch/arm/boards/phytec-som-imx6/board.c | 27 +--------------------- drivers/net/fec_imx.c | 29 ++++++++++++++++++++++++ drivers/net/fec_imx.h | 8 +++++++ 4 files changed, 39 insertions(+), 52 deletions(-) -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox