* Hemant Pedanekar <hemantp@xxxxxx> [100811 10:03]: > This patch updates the common machine spcific source files with support for > TI816X. > > Note that the nr_irqs is overridden in INTC driver since the number of IRQs on > TI816X are different (128) comapared to other OMAPs (96). <snip> > --- a/arch/arm/mach-omap2/id.c > +++ b/arch/arm/mach-omap2/id.c > @@ -419,6 +441,9 @@ void __init omap2_check_revision(void) > } else if (cpu_is_omap44xx()) { > omap4_check_revision(); > return; > + } else if (cpu_is_ti816x()) { > + ti816x_check_revision(); > + return; > } else { > pr_err("OMAP revision unknown, please fix!\n"); > } This does not look right, at this point you should just know the processor class set by the set_globals call. Please take a look at plat-omap/common.c and add an entry for omap2_set_globals_ti816x. This gets called very early from the board-*.c file, so you can initialize things. Note that by default we are building in support for omap2, 3 and 4 and support for all the boards too. This allows booting them with the same kernel binary for developers and distros. In general, you might want to see how we added support for omap36xx. TI816X seems to be very close to omap3 with some extra registers, and I'm not at all convinced that we even need to set it up as a separate processor. Basically adding the set_globals + doing the more accurate detection in id.c should do the trick. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html