* [PATCH] c2k: fix list of enabled address space
@ 2008-07-24 15:53 Remi Machet
0 siblings, 0 replies; only message in thread
From: Remi Machet @ 2008-07-24 15:53 UTC (permalink / raw)
To: Paul Mackerras
Cc: Linux PPC, Welch, Martyn (GE EntSol, Intelligent Platforms)
The Marvell chip SRAM was disabled and some reserved bit set by mistake.
This bug was found thanks to Martyn Welch.
Signed-off-by: Remi Machet <rmachet@slac.stanford.edu>
---
arch/powerpc/boot/cuboot-c2k.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/boot/cuboot-c2k.c b/arch/powerpc/boot/cuboot-c2k.c
index e435949..cf993ea 100644
--- a/arch/powerpc/boot/cuboot-c2k.c
+++ b/arch/powerpc/boot/cuboot-c2k.c
@@ -56,7 +56,7 @@ static void c2k_bridge_setup(u32 mem_size)
fatal("Error: Missing marvell,mv64360 device tree node\n\r");
enables = in_le32((u32 *)(bridge_base + MV64x60_CPU_BAR_ENABLE));
- enables |= 0x007ffe00; /* Disable all cpu->pci windows */
+ enables |= 0x0007fe00; /* Disable all cpu->pci windows */
out_le32((u32 *)(bridge_base + MV64x60_CPU_BAR_ENABLE), enables);
/* Get the cpu -> pci i/o & mem mappings from the device tree */
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-24 15:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 15:53 [PATCH] c2k: fix list of enabled address space Remi Machet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).