]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Add platform callback before initializing the L2 cache
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 9 Jul 2015 09:40:43 +0000 (10:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Aug 2015 13:23:11 +0000 (15:23 +0200)
commit45109798a58c2c4948416207c40729cdfe892280
tree99389898aa1936b53495dd32cffa5fef0ea99c18
parent9d8bc87e3fca5818c1f3b011053f421972936bf8
MIPS: Add platform callback before initializing the L2 cache

Allow platforms to perform platform-specific steps before configuring
the L2 cache. This is necessary for platforms with CM3 since the L2
parameters no longer live in the Config2 register.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10642/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/mips-cm.c
arch/mips/mm/sc-mips.c
arch/mips/mti-malta/malta-init.c