diff options
Diffstat (limited to 'arch/arm/mach-ux500/cache-l2x0.c')
| -rw-r--r-- | arch/arm/mach-ux500/cache-l2x0.c | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-ux500/cache-l2x0.c b/arch/arm/mach-ux500/cache-l2x0.c index 75d5b512a3d..f58615b5c60 100644 --- a/arch/arm/mach-ux500/cache-l2x0.c +++ b/arch/arm/mach-ux500/cache-l2x0.c @@ -9,8 +9,9 @@  #include <asm/cacheflush.h>  #include <asm/hardware/cache-l2x0.h> -#include <mach/hardware.h> -#include <mach/id.h> + +#include "db8500-regs.h" +#include "id.h"  static void __iomem *l2x0_base; @@ -46,8 +47,8 @@ static int __init ux500_l2x0_init(void)  	/* Unlock before init */  	ux500_l2x0_unlock(); -	/* DB9540's L2 has 128KB way size */ -	if (cpu_is_u9540()) +	/* DBx540's L2 has 128KB way size */ +	if (cpu_is_ux540_family())  		/* 128KB way size */  		aux_val |= (0x4 << L2X0_AUX_CTRL_WAY_SIZE_SHIFT);  	else  |