L2 cache support for pxa16x

Haojian Zhuang haojian.zhuang at gmail.com
Fri May 21 07:07:45 EDT 2010


> diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
> index a2d307e..d047d8c 100644
> --- a/arch/arm/mach-mmp/aspenite.c
> +++ b/arch/arm/mach-mmp/aspenite.c
> @@ -17,6 +17,7 @@
>  #include <linux/mtd/partitions.h>
>  #include <linux/mtd/nand.h>
>
> +#include <asm/hardware/cache-tauros2.h>
>  #include <asm/mach-types.h>
>  #include <asm/mach/arch.h>
>  #include <mach/addr-map.h>
> @@ -125,6 +126,7 @@ static struct pxa3xx_nand_platform_data
> aspenite_nand_info = {
>
>  static void __init common_init(void)
>  {
> +       tauros2_init();
>        mfp_config(ARRAY_AND_SIZE(common_pin_config));
>

Why do you initialize L2 at here? I think that we should enable L2 a
bit earlier. For example, in pxa168_init().



More information about the linux-arm-kernel mailing list