From: Christophe Leroy Date: Thu, 20 Dec 2018 07:25:28 +0000 (+0000) Subject: powerpc/8xx: Allow pinning IMMR TLB when using early debug console X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=96d19d70e1012383365c68e271d99f833a2d85f3;p=linux.git powerpc/8xx: Allow pinning IMMR TLB when using early debug console CONFIG_EARLY_DEBUG_CPM requires IMMR area TLB to be pinned otherwise it doesn't survive MMU_init, and the boot fails. Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 6d6e1ffdafbae..a1e858e42ada7 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -1143,7 +1143,7 @@ config PIN_TLB_DATA config PIN_TLB_IMMR bool "Pinned TLB for IMMR" - depends on PIN_TLB + depends on PIN_TLB || PPC_EARLY_DEBUG_CPM default y config PIN_TLB_TEXT