Hi
I try set UART2 to output message,but it is not work in X-loader-02.01.03.11.
My UART1 and UART 3 is work.I have add below code in x-loader.Anything is my this attention?
-----------------------------------------------------------------------------------------------------------------
void per_clocks_enable(void)
{
/* Enable GP2 timer. */
sr32(CM_CLKSEL_PER, 0, 1, 0x1); /* GPT2 = sys clk */
sr32(CM_ICLKEN_PER, 3, 1, 0x1); /* ICKen GPT2 */
sr32(CM_FCLKEN_PER, 3, 1, 0x1); /* FCKen GPT2 */
#ifdef CFG_NS16550
/* Enable UART1 clocks */
sr32(CM_FCLKEN1_CORE, 13, 1, 0x1);
sr32(CM_ICLKEN1_CORE, 13, 1, 0x1);
/* Enable UART2 clocks */
sr32(CM_FCLKEN1_CORE, 14, 1, 0x1);
sr32(CM_ICLKEN1_CORE, 14, 1, 0x1);
#endif
delay(1000);
}