summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-04-07 02:49:12 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-04-26 22:37:50 -0500
commit1749c3da8d8445cdf78d70120a803e3e9553113c (patch)
treedf8b4999ce54ee324f2cb9cdc38b77022593644a /board/freescale
parent6e5fb4eec3702a13770769a5a48a9423aa68ee9c (diff)
downloadu-boot-imx-1749c3da8d8445cdf78d70120a803e3e9553113c.zip
u-boot-imx-1749c3da8d8445cdf78d70120a803e3e9553113c.tar.gz
u-boot-imx-1749c3da8d8445cdf78d70120a803e3e9553113c.tar.bz2
ppc/85xx: Fixup PCI nodes for P1_P2_RDB
While we had ft_pci_board_setup it wasn't being called by ft_board_setup. Fix that so we actually update the device tree PCI nodes on P1_P2_RDB boards. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/p1_p2_rdb/p1_p2_rdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/p1_p2_rdb/p1_p2_rdb.c b/board/freescale/p1_p2_rdb/p1_p2_rdb.c
index 3af660e..31cdf9a 100644
--- a/board/freescale/p1_p2_rdb/p1_p2_rdb.c
+++ b/board/freescale/p1_p2_rdb/p1_p2_rdb.c
@@ -198,6 +198,8 @@ int board_eth_init(bd_t *bis)
#endif
#if defined(CONFIG_OF_BOARD_SETUP)
+extern void ft_pci_board_setup(void *blob);
+
void ft_board_setup(void *blob, bd_t *bd)
{
phys_addr_t base;
@@ -208,6 +210,8 @@ void ft_board_setup(void *blob, bd_t *bd)
base = getenv_bootm_low();
size = getenv_bootm_size();
+ ft_pci_board_setup(blob);
+
fdt_fixup_memory(blob, (u64)base, (u64)size);
}
#endif