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 <[EMAIL PROTECTED]>
---
 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 */


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to