target/ppc: cpu_init: Move 755 L2 cache SPRs into a function
commit28930245a823c3e452d65523c9ad01f56801df72
authorFabiano Rosas <farosas@linux.ibm.com>
Fri, 18 Feb 2022 07:34:15 +0000 (18 08:34 +0100)
committerCédric Le Goater <clg@kaod.org>
Fri, 18 Feb 2022 07:34:15 +0000 (18 08:34 +0100)
tree3a1571ae357aea0b5cdfed8e07ca3006b53bfca7
parent0301b39c78c8de08c0806d42640d606238b37d2f
target/ppc: cpu_init: Move 755 L2 cache SPRs into a function

This is just to have 755-specific registers contained into a function,
intead of leaving them open-coded in init_proc_755. It makes init_proc
easier to read and keeps later patches that touch this code a bit
cleaner.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20220216162426.1885923-16-farosas@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/cpu_init.c