ARM: i.MX8M: Add and use function for early UART clock setup
The i.MX8M boards all have the same code for setting up the UART clock.
Add a common helper for it. In the helper just setup the clocks for all
UARTs as it's not worth it to have separate functions for each UART.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent cc76af2 commit 4fce211e966c33ca882b05b1cc45ea5f137af9f8
@Sascha Hauer Sascha Hauer authored on 13 Feb 2020
Showing 5 changed files
View
arch/arm/boards/nxp-imx8mq-evk/lowlevel.c
View
arch/arm/boards/phytec-som-imx8mq/lowlevel.c
View
arch/arm/boards/zii-imx8mq-dev/lowlevel.c
View
arch/arm/mach-imx/imx8m.c
View
arch/arm/mach-imx/include/mach/imx8m-ccm-regs.h