From 8fd527934388a05f528dd941bc6b5b363a1b3163 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Sun, 4 May 2008 20:48:53 +0200 Subject: [PATCH] Unify access to I/O and memory of the microchannel bus. Spares one segment register. --- arch/power/kernel/head.S | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/arch/power/kernel/head.S b/arch/power/kernel/head.S index ef33e123ddd..f915200894e 100644 --- a/arch/power/kernel/head.S +++ b/arch/power/kernel/head.S @@ -722,24 +722,17 @@ start_here: // lis r0,0x8000 mtsr 15,r0 -#if 0 // - // First MCA bus (I/O) + // We can address the first MCA bus by + // the following segment values: + // 820C0000 I/O only + // 820C0020 Memory + // 820C0030 both // lis r0,0x820C - mtsr 14,r0 - // - // First MCA bus (Memory) - // - ori r0,r0,0x20 // Memory on first MCA bus - mtsr 13,r0 - // -#else - lis r0,0x820C ori r0,r0,0x30 - mtsr 13,r0 mtsr 14,r0 -#endif + // // IOCC of first MCA bus // lis 0,0x820C -- 2.11.4.GIT