tegra: Move clock_early_init() to arch_cpu_init()
The clock init is not board specific, so move it into the cpu code. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
parent
ccdd6eaecb
commit
905ed41aad
@ -84,6 +84,9 @@ int arch_cpu_init(void)
|
||||
/* We didn't do this init in start.S, so do it now */
|
||||
cpu_init_cp15();
|
||||
|
||||
/* Initialize essential common plls */
|
||||
clock_early_init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
@ -143,9 +143,6 @@ int board_early_init_f(void)
|
||||
uart_ids |= UARTD;
|
||||
#endif
|
||||
|
||||
/* Initialize essential common plls */
|
||||
clock_early_init();
|
||||
|
||||
/* Initialize UART clocks */
|
||||
clock_init_uart(uart_ids);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user