[PATCH] ARM: MM: Configure the number of banks

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Dec 11 05:24:43 EST 2011


On Sun, Dec 11, 2011 at 10:03:25AM +0000, Russell King - ARM Linux wrote:
> On Mon, Dec 05, 2011 at 10:28:59AM +0900, Boojin Kim wrote:
> > This patch configures NR_BANKS by machine specific configuration.
> > NR_BANKS should be increased to support bigger than 2GB memory.
> > 
> > Signed-off-by: Boojin Kim <boojin.kim at samsung.com>
> 
> I'd much prefer to solve this a different way:
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 4676c19..d451945 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1126,6 +1126,11 @@ config ARM_TIMER_SP804
>  
>  source arch/arm/mm/Kconfig
>  
> +config ARM_NR_BANKS
> +	int
> +	default 16 if ARCH_EP93XX

I've now committed this patch - if you want to add exynos to this,
please send a patch to do just that.  Thanks.



More information about the linux-arm-kernel mailing list