OSDN Git Service

powerpc/8xx: add CONFIG_PIN_TLB_IMMR
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 17 May 2016 07:02:56 +0000 (09:02 +0200)
committerScott Wood <oss@buserror.net>
Sat, 9 Jul 2016 07:02:48 +0000 (02:02 -0500)
commit62f64b49d04dc70687cd713c804fecd80216b2d6
treef4d8264d6e3a40c95cb2aecf404642e097cc9852
parent4ad274502f66614eec3093aaa0cdeb4b70697ddf
powerpc/8xx: add CONFIG_PIN_TLB_IMMR

CONFIG_PIN_TLB maps IMMR area and the first 24 Mbytes of memory.
In some circunstances it might be more interesting to not map
IMMR but map 32 Mbytes of memory instead.

Therefore we add config option CONFIG_PIN_TLB_IMMR to select if
IMMR shall be pinned or not, hence whether we pin 24 or 32 Mbytes of RAM

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/Kconfig
arch/powerpc/kernel/head_8xx.S
arch/powerpc/mm/8xx_mmu.c