powerpc/8xxx: query feature reporting register for num cores on unknown cpus
authorKim Phillips <kim.phillips@freescale.com>
Thu, 15 Jul 2010 00:47:29 +0000 (19:47 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Sun, 1 Aug 2010 16:18:45 +0000 (11:18 -0500)
commita37c36f4e70bada297f281b0e542539ad43e50f6
tree437c988485c0302ebaccd5509e928e88dc03fc7a
parent5be58f5fc818b429ae5c1c461d540a5d380d9853
powerpc/8xxx: query feature reporting register for num cores on unknown cpus

doing so helps avant garde users, such as those using simulators that
allow users to configure the number of cores, so as to not have to
manually adjust u-boot sources.  h/w should also be reliably setting
FRR NCPU in the future.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/cpu.c
arch/powerpc/include/asm/immap_85xx.h