1
0
Fork 0

Manually enable UART clock, this might be done in the DCD instead

utp
Martin T. H. Sandsmark 2016-08-15 19:10:05 +02:00 committed by Martin T. H. Sandsmark
parent 1b6b5ca20b
commit 9fed9e35b4
2 changed files with 1 additions and 2 deletions

View File

@ -112,7 +112,6 @@ void enable_enet_clk(unsigned char enable)
}
#endif
#ifdef CONFIG_MXC_UART
void enable_uart_clk(unsigned char enable)
{
u32 mask;
@ -127,7 +126,6 @@ void enable_uart_clk(unsigned char enable)
else
clrbits_le32(&imx_ccm->CCGR5, mask);
}
#endif
#ifdef CONFIG_MMC
int enable_usdhc_clk(unsigned char enable, unsigned bus_num)

View File

@ -373,6 +373,7 @@ int board_ehci_hcd_init(int port)
int board_early_init_f(void)
{
enable_uart_clk(1);
setup_iomux_uart();
#ifdef CONFIG_MXC_SPI
setup_spi();