Re: [PATCH v1 1/1] ARM: OMAP3: Use OMAP3_HAS_IVA_REGS with OMAP3503

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/31/12 02:50, Juha Kuikka wrote:
> Similarly to am3703, it seems that omap3503 has an IVA control
> registers even though the subsystem is non-functional.
> 
> This patch sets the OMAP3_HAS_IVA_REGS feature to force
> initialization of there registers.
> 
> Based in Mark A. Greer's patch
> "ARM: OMAP3: Add OMAP3_HAS_IVA_REGS feature".
> 
> Signed-off-by: Juha Kuikka <juha.kuikka@xxxxxxxxx>
> ---
>  arch/arm/mach-omap2/id.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> index 4072fbd..45d3eb4 100644
> --- a/arch/arm/mach-omap2/id.c
> +++ b/arch/arm/mach-omap2/id.c
> @@ -244,7 +244,7 @@ void __init omap3xxx_check_features(void)
>  	if (cpu_is_omap3630())
>  		omap_features |= OMAP3_HAS_192MHZ_CLK | OMAP3_HAS_IVA_REGS;

If you add the flag below, then you probably want to remove it from here, right?

>  	if (cpu_is_omap3430() || cpu_is_omap3630())
> -		omap_features |= OMAP3_HAS_IO_WAKEUP;
> +		omap_features |= OMAP3_HAS_IO_WAKEUP | OMAP3_HAS_IVA_REGS;
>  	if (cpu_is_omap3630() || omap_rev() == OMAP3430_REV_ES3_1 ||
>  	    omap_rev() == OMAP3430_REV_ES3_1_2)
>  		omap_features |= OMAP3_HAS_IO_CHAIN_CTRL;

-- 
Regards,
Igor.
--
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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux