powerpc: define helpers to get L1 icache sizes

This patch adds helpers to retrieve icache sizes, and renames the existing
helpers to make it clear that they are for dcache.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191104023305.9581-4-alastair@au1.ibm.com
This commit is contained in:
Alastair D'Silva 2019-11-04 13:32:55 +11:00 • committed by Michael Ellerman
commit 7a0745c5e0
2 changed files with 31 additions and 10 deletions