powerpc/fsl-booke: Make CAM entries used for lowmem configurable
authorTrent Piepho <tpiepho@freescale.com>
Tue, 9 Dec 2008 03:34:58 +0000 (19:34 -0800)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 29 Jan 2009 00:16:54 +0000 (18:16 -0600)
commit96051465fdc29e00dd14b484a45daac089c657f8
tree4aa82c96d9a7e8c8b3b0c0c7f4ada4bf903ea422
parentc8f3570b7e2dd070ba6da41f3ed4ffb4e1d296af
powerpc/fsl-booke: Make CAM entries used for lowmem configurable

On booke processors, the code that maps low memory only uses up to three
CAM entries, even though there are sixteen and nothing else uses them.

Make this number configurable in the advanced options menu along with max
low memory size.  If one wants 1 GB of lowmem, then it's typically
necessary to have four CAM entries.

Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/Kconfig
arch/powerpc/mm/fsl_booke_mmu.c