aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/cpm1.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2020-12-04 10:11:34 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-09 17:00:54 +1100
commit1e78f723d6a52966bfe3804209dbf404fdc9d3bb (patch)
tree59ed02d67294023f2f69712a627821f477000979 /arch/powerpc/include/asm/cpm1.h
parentpowerpc/32s: Handle PROTFAULT in hash_page() also for CONFIG_PPC_KUAP (diff)
downloadlinux-dev-1e78f723d6a52966bfe3804209dbf404fdc9d3bb.tar.xz
linux-dev-1e78f723d6a52966bfe3804209dbf404fdc9d3bb.zip
powerpc/8xx: Fix early debug when SMC1 is relocated
When SMC1 is relocated and early debug is selected, the board hangs is ppc_md.setup_arch(). This is because ones the microcode has been loaded and SMC1 relocated, early debug writes in the weed. To allow smooth continuation, the SMC1 parameter RAM set up by the bootloader have to be copied into the new location. Fixes: 43db76f41824 ("powerpc/8xx: Add microcode patch to move SMC parameter RAM.") Cc: stable@vger.kernel.org Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/b2f71f39eca543f1e4ec06596f09a8b12235c701.1607076683.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/include/asm/cpm1.h')
-rw-r--r--arch/powerpc/include/asm/cpm1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/cpm1.h b/arch/powerpc/include/asm/cpm1.h
index a116fe931789..3bdd74739cb8 100644
--- a/arch/powerpc/include/asm/cpm1.h
+++ b/arch/powerpc/include/asm/cpm1.h
@@ -68,6 +68,7 @@ extern void cpm_reset(void);
#define PROFF_SPI ((uint)0x0180)
#define PROFF_SCC3 ((uint)0x0200)
#define PROFF_SMC1 ((uint)0x0280)
+#define PROFF_DSP1 ((uint)0x02c0)
#define PROFF_SCC4 ((uint)0x0300)
#define PROFF_SMC2 ((uint)0x0380)