]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mvebu: move L2 cache initialization in init_early()
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Apr 2013 21:26:14 +0000 (23:26 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 15 Apr 2013 19:34:16 +0000 (19:34 +0000)
commit0302ae1dd816dfb3b224d34c3b4df5ec7a9dd2c3
tree062671b6874e09b028079d8f8aca3763d555403a
parentc3ee6b128226812d506bf993ab8048efe80a3fc1
ARM: mvebu: move L2 cache initialization in init_early()

In preparation for moving the IRQ controller driver to
drivers/irqchip/, we don't want the IRQ controller driver to be
responsible for initializing the L2 cache. Instead, let's initialize
the L2 cache at the init_early() level, like mach-exynos/common.c is
doing.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/armada-370-xp.c
arch/arm/mach-mvebu/irq-armada-370-xp.c