target/ppc: cpu_init: Decouple 74xx SPR registration from 7xx
commit674f45096f7dafefe22269dd017417f506b54c2b
authorFabiano Rosas <farosas@linux.ibm.com>
Fri, 18 Feb 2022 07:34:14 +0000 (18 08:34 +0100)
committerCédric Le Goater <clg@kaod.org>
Fri, 18 Feb 2022 07:34:14 +0000 (18 08:34 +0100)
treec3db9eb8f5558837df3fe768abcbb3b4df6fb267
parent1a71c5d158529bcfdadb131714710efb7679f529
target/ppc: cpu_init: Decouple 74xx SPR registration from 7xx

We're considering these two to be from different CPU families, so
duplicate some code to keep them separate.

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