plat/marvell/a8k/common/plat_bl31_setup.c
/* This function overruns the same function in marvell_bl31_setup.c */
This function overruns the same function in marvell_bl31_setup.c
This function overruns the same function in marvell_bl31_setup . c
void bl31_plat_arch_setup(void)
{
	uintptr_t *mailbox = (void *)PLAT_MARVELL_MAILBOX_BASE;
	plat_delay_timer_init();
	apn806_init();
	if (mailbox[MBOX_IDX_MAGIC] != MVEBU_MAILBOX_MAGIC_NUM ||
	    mailbox[MBOX_IDX_SUSPEND_MAGIC] != MVEBU_MAILBOX_SUSPEND_STATE)
		marvell_bl31_plat_arch_setup();
	cp110_init(0);
	if (CP_COUNT == 2 && mci_initialize(0))
		cp110_init(1);
	marvell_bl31_mpp_init();
	if (mailbox[MBOX_IDX_MAGIC] != MVEBU_MAILBOX_MAGIC_NUM ||
	    mailbox[MBOX_IDX_SUSPEND_MAGIC] != MVEBU_MAILBOX_SUSPEND_STATE)
		marvell_bl31_mss_init();
	marvell_gpio_config();
}
void bl31_plat_arch_setup ( void ) { uintptr_t * mailbox = ( void * ) PLAT_MARVELL_MAILBOX_BASE ; plat_delay_timer_init ( ) ; apn806_init ( ) ; if ( mailbox [ MBOX_IDX_MAGIC ] != MVEBU_MAILBOX_MAGIC_NUM || mailbox [ MBOX_IDX_SUSPEND_MAGIC ] != MVEBU_MAILBOX_SUSPEND_STATE ) marvell_bl31_plat_arch_setup ( ) ; cp110_init ( 0 ) ; if ( CP_COUNT == 2 && mci_initialize ( 0 ) ) cp110_init ( 1 ) ; marvell_bl31_mpp_init ( ) ; if ( mailbox [ MBOX_IDX_MAGIC ] != MVEBU_MAILBOX_MAGIC_NUM || mailbox [ MBOX_IDX_SUSPEND_MAGIC ] != MVEBU_MAILBOX_SUSPEND_STATE ) marvell_bl31_mss_init ( ) ; marvell_gpio_config ( ) ; }
This function overruns the same function in marvell_bl31_setup.c
This function overruns the same function in marvell_bl31_setup . c
/* initiliaze the timer for mdelay/udelay functionality */ /* configure apn806 */ /* In marvell_bl31_plat_arch_setup, el3 mmu is configured.
	 * el3 mmu configuration MUST be called after apn806_init, if not,
	 * this will cause an hang in init_io_win
	 * (after setting the IO windows GCR values).
	 */ /* configure cp110 for CP0*/ /* initialize MCI & CP1 */ /* Should be called only after setting IOB windows */ /* initialize IPC between MSS and ATF */ /* Configure GPIO */