]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] 4xx: libfdt and pci fixes for Rainier
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 20 Dec 2007 14:55:34 +0000 (08:55 -0600)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sun, 23 Dec 2007 19:28:40 +0000 (13:28 -0600)
Update the Rainier wrapper for the libfdt merge and add the pci flags to the
platform file.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/boot/cuboot-rainier.c
arch/powerpc/platforms/44x/rainier.c

index 6be15cad2f7ec1f04447fa04bfa4bcc593e5288b..cf452b66dce8235671aaae32510cc506204d68cb 100644 (file)
@@ -51,6 +51,6 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
        CUBOOT_INIT();
        platform_ops.fixups = rainier_fixups;
        platform_ops.exit = ibm44x_dbcr_reset;
-       ft_init(_dtb_start, 0, 32);
+       fdt_init(_dtb_start);
        serial_console_init();
 }
index 5a01bef2184686b28ee74b3ad783e8ec999af13b..ce8167bb301f79fc5e6667cf469d708c4af6be62 100644 (file)
@@ -20,6 +20,7 @@
 #include <asm/time.h>
 #include <asm/uic.h>
 #include <asm/of_platform.h>
+#include <asm/pci-bridge.h>
 #include "44x.h"
 
 static struct of_device_id rainier_of_bus[] = {
@@ -47,6 +48,8 @@ static int __init rainier_probe(void)
        if (!of_flat_dt_is_compatible(root, "amcc,rainier"))
                return 0;
 
+       ppc_pci_flags = PPC_PCI_REASSIGN_ALL_RSRC;
+
        return 1;
 }