[PATCH] arm: Allow mounting root on omaps with CPU_V6 and CPU_V7

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Feb 19 03:35:56 EST 2010


On Thu, Feb 18, 2010 at 04:27:48PM -0800, Tony Lindgren wrote:
> @@ -779,5 +779,5 @@ config CACHE_XSC3L2
>  
>  config ARM_L1_CACHE_SHIFT
>  	int
> -	default 6 if ARCH_OMAP3 || ARCH_S5PC1XX
> +	default 6 if (ARCH_OMAP3 || ARCH_S5PC1XX) && !ARCH_OMAP2
>  	default 5

This one is definitely wrong.  Setting the L1 cache line size larger
than it actually is should be safe; setting it smaller is definitely
unsafe.



More information about the linux-arm-kernel mailing list