/* * Note this function is executed by the ARM7TDMI AVP. It does not return * in this case. It is also called once the A9 starts up, but does nothing in * that case. */ int arch_cpu_init(void) { /* Fire up the Cortex A9 */ tegra2_start(); /* 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; }
int board_early_init_f(void) { /* Initialize periph clocks */ clock_init(); /* Initialize periph pinmuxes */ pinmux_init(); /* Initialize periph GPIOs */ gpio_init(); /* Init UART, scratch regs, and start CPU */ tegra2_start(); return 0; }