Enable the UART0 LPCG clock in sc_pm_setup_uart for early print
not depending on the reset default value.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
534317be23ef37f2aaae5c384410bc49b13e2dca)
#include <linux/arm-smccc.h>
#include <generated/version_autogenerated.h>
#include <linux/libfdt.h>
+#include <asm/arch/lpcg.h>
DECLARE_GLOBAL_DATA_PTR;
if (ret)
return ret;
+ lpcg_all_clock_on(LPUART_0_LPCG);
+
return 0;
}