示例#1
0
/*
 * functions for Celleb-Beat
 */
static void __init celleb_setup_arch_beat(void)
{
#ifdef CONFIG_SPU_BASE
	spu_priv1_ops		= &spu_priv1_beat_ops;
	spu_management_ops	= &spu_management_of_ops;
#endif

	celleb_setup_arch_common();
}
示例#2
0
static void __init celleb_setup_arch_native(void)
{
#ifdef CONFIG_SPU_BASE
    spu_priv1_ops        = &spu_priv1_mmio_ops;
    spu_management_ops    = &spu_management_of_ops;
#endif

    cbe_regs_init();

#ifdef CONFIG_CBE_RAS
    cbe_ras_init();
#endif

#ifdef CONFIG_SMP
    smp_init_cell();
#endif

    cbe_pervasive_init();

    /* XXX: nvram initialization should be added */

    celleb_setup_arch_common();
}