mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
tegra: Move cpu_init_cp15() to arch_cpu_init()
This call is more of an architecture requirement than a board one, so move it there. 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
5b37bd3afd
commit
ccdd6eaecb
@ -80,6 +80,10 @@ int arch_cpu_init(void)
|
|||||||
{
|
{
|
||||||
/* Fire up the Cortex A9 */
|
/* Fire up the Cortex A9 */
|
||||||
tegra2_start();
|
tegra2_start();
|
||||||
|
|
||||||
|
/* We didn't do this init in start.S, so do it now */
|
||||||
|
cpu_init_cp15();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -143,9 +143,6 @@ int board_early_init_f(void)
|
|||||||
uart_ids |= UARTD;
|
uart_ids |= UARTD;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* We didn't do this init in start.S, so do it now */
|
|
||||||
cpu_init_cp15();
|
|
||||||
|
|
||||||
/* Initialize essential common plls */
|
/* Initialize essential common plls */
|
||||||
clock_early_init();
|
clock_early_init();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user