summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-09-30 09:15:03 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-10-20 02:27:18 -0500
commita1964ea5c25238fdad254dbe88d1e4ed9cd84061 (patch)
treea69b11d110cddfd003674577e199c847faa21eb3 /arch/powerpc/include/asm
parentf8c42495e08b270dbeb47c5dd79e9564fa4b5ec2 (diff)
downloadu-boot-imx-a1964ea5c25238fdad254dbe88d1e4ed9cd84061.zip
u-boot-imx-a1964ea5c25238fdad254dbe88d1e4ed9cd84061.tar.gz
u-boot-imx-a1964ea5c25238fdad254dbe88d1e4ed9cd84061.tar.bz2
powerpc/8xxx: Add fdt_fixup_phy_connection helper
Add a common helper that will set the PHY connection type based on enum. We use this on eTSEC, UCC, and will with Fman in the future. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/fsl_enet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_enet.h b/arch/powerpc/include/asm/fsl_enet.h
index 8596157..4fb2857 100644
--- a/arch/powerpc/include/asm/fsl_enet.h
+++ b/arch/powerpc/include/asm/fsl_enet.h
@@ -28,4 +28,6 @@ enum fsl_phy_enet_if {
FSL_ETH_IF_NONE,
};
+int fdt_fixup_phy_connection(void *blob, int offset, enum fsl_phy_enet_if phyc);
+
#endif /* __ASM_PPC_FSL_ENET_H */