/* access to the ebu needs to be locked between different drivers */
DEFINE_SPINLOCK(ebu_lock);
EXPORT_SYMBOL_GPL(ebu_lock);
/* * this struct is filled by the soc specific detection code and holds * information about the specific soc type, revision and name
*/ staticstruct ltq_soc_info soc_info;
/* * These structs are used to override vsmp_init_secondary()
*/ #ifdefined(CONFIG_MIPS_MT_SMP) externconststruct plat_smp_ops vsmp_smp_ops; staticstruct plat_smp_ops lantiq_smp_ops; #endif
dtb = get_fdt(); if (dtb == NULL)
panic("no dtb found");
/* * Load the devicetree. This causes the chosen node to be * parsed resulting in our memory appearing
*/
__dt_setup_arch(dtb);
}
#ifdefined(CONFIG_MIPS_MT_SMP) staticvoid lantiq_init_secondary(void)
{ /* * MIPS CPU startup function vsmp_init_secondary() will only * enable some of the interrupts for the second CPU/VPE.
*/
set_c0_status(ST0_IM);
} #endif
void __init prom_init(void)
{ /* call the soc specific detetcion code and get it to fill soc_info */
ltq_soc_detect(&soc_info);
snprintf(soc_info.sys_type, LTQ_SYS_TYPE_LEN - 1, "%s rev %s",
soc_info.name, soc_info.rev_type);
soc_info.sys_type[LTQ_SYS_TYPE_LEN - 1] = '\0';
pr_info("SoC: %s\n", soc_info.sys_type);
prom_init_cmdline();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.