Skip to content

Commit

Permalink
[POWERPC] 4xx: libfdt and pci fixes for Rainier
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Josh Boyer committed Dec 23, 2007
1 parent af7baf9 commit 4922566
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/boot/cuboot-rainier.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
3 changes: 3 additions & 0 deletions arch/powerpc/platforms/44x/rainier.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 4922566

Please sign in to comment.