Manually enable UART clock, this might be done in the DCD instead
parent
1b6b5ca20b
commit
9fed9e35b4
|
@ -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)
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue