Re: [PATCH v2 07/14] ARM: OMAP2+: AM43x: early init

From: Tony Lindgren
Date: Wed Jun 12 2013 - 13:14:36 EST


* Afzal Mohammed <afzal@xxxxxx> [130527 07:42]:
> --- a/arch/arm/mach-omap2/io.c
> +++ b/arch/arm/mach-omap2/io.c
> @@ -586,6 +586,20 @@ void __init am33xx_init_early(void)
> }
> #endif
>
> +#ifdef CONFIG_SOC_AM43XX
> +void __init am43xx_init_early(void)
> +{
> + omap2_set_globals_tap(AM335X_CLASS,
> + AM33XX_L4_WK_IO_ADDRESS(AM33XX_TAP_BASE));
> + omap2_set_globals_control(AM33XX_L4_WK_IO_ADDRESS(AM33XX_CTRL_BASE),
> + NULL);
> + omap2_set_globals_prm(AM33XX_L4_WK_IO_ADDRESS(AM43XX_PRCM_BASE));
> + omap2_set_globals_cm(AM33XX_L4_WK_IO_ADDRESS(AM43XX_PRCM_BASE), NULL);
> + omap3xxx_check_revision();
> + am33xx_check_features();
> +}
> +#endif
> +
> #ifdef CONFIG_ARCH_OMAP4
> void __init omap4430_init_early(void)
> {

I've updated this to remove am33xx_check_features() that we don't
seem to have in the mainline yet.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/