summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8544ds/mpc8544ds.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-12-05 20:10:22 -0600
committerAndy Fleming <afleming@freescale.com>2009-02-16 18:05:54 -0600
commitfeede8b07013b33fca8dd2a916b3ac86bf4d4c0a (patch)
tree45d29ae174470e1b92a7a331192c22c20487bd9e /board/freescale/mpc8544ds/mpc8544ds.c
parent5dc0cf68f8f101042997d75188081d8526d705ea (diff)
downloadu-boot-imx-feede8b07013b33fca8dd2a916b3ac86bf4d4c0a.zip
u-boot-imx-feede8b07013b33fca8dd2a916b3ac86bf4d4c0a.tar.gz
u-boot-imx-feede8b07013b33fca8dd2a916b3ac86bf4d4c0a.tar.bz2
Fixup SGMII PHY ids in the device tree
The device tree's PHY addresses need to be fixed up if we're using the SGMII Riser Card. The 8572, 8536, and 8544 DS boards were modified to call this function. Code idea taken from Liu Yu <yu.liu@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/freescale/mpc8544ds/mpc8544ds.c')
-rw-r--r--board/freescale/mpc8544ds/mpc8544ds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/mpc8544ds/mpc8544ds.c b/board/freescale/mpc8544ds/mpc8544ds.c
index 7ff5a9b..13760db 100644
--- a/board/freescale/mpc8544ds/mpc8544ds.c
+++ b/board/freescale/mpc8544ds/mpc8544ds.c
@@ -497,5 +497,8 @@ void ft_board_setup(void *blob, bd_t *bd)
#ifdef CONFIG_PCIE3
ft_fsl_pci_setup(blob, "pci3", &pcie2_hose);
#endif
+#ifdef CONFIG_FSL_SGMII_RISER
+ fsl_sgmii_riser_fdt_fixup(blob);
+#endif
}
#endif