/* Try to detect the exact revision of the omap we're running on  */
void __init omap2_check_revision(void)
/* Try to detect the exact revision of the omap we're running on  */
void __init omap2_check_revision(void)
{
	if (cpu_is_omap24xx()) {
		omap24xx_check_revision();
	} else if (cpu_is_omap34xx()) {
		omap3_check_revision();
		omap3_check_features();
		omap3_cpuinfo();
		return;
	} else if (cpu_is_omap44xx()) {
		omap4_check_revision();
		return;
	} else {
		pr_err("OMAP revision unknown, please fix!\n");
	}
	if (cpu_is_omap243x()) {
		omap_chip.oc |= CHIP_IS_OMAP2430;
		return;
	} else if (cpu_is_omap242x()) {
		omap_chip.oc |= CHIP_IS_OMAP2420;
		return;
	}
	pr_err("Uninitialized omap_chip, please fix!\n");
}