ARM: ux500: move l2x0 init to .init_irq
authorArnd Bergmann <arnd@arndb.de>
Mon, 20 Jun 2016 20:27:23 +0000 (22:27 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Jul 2016 09:24:06 +0000 (11:24 +0200)
commit1e6cbc0691abc6b1a053f98d8ce1d692c8c71501
tree30bc2f7055afc27ad0e40fb1ef402dfe53f7c1d2
parent4e657946cbf68998b51b331375a1209e90792fe4
ARM: ux500: move l2x0 init to .init_irq

The generic IRQ init function also enables the l2 cache
implicitly when the machine descriptor sets an .l2c_aux_mask.

Let's use that on ux500 and remove the ux500_l2x0_init()
along with the cpu_is_u8500_family checks.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/cache-l2x0.c
arch/arm/mach-ux500/cpu-db8500.c
arch/arm/mach-ux500/cpu.c
arch/arm/mach-ux500/setup.h