summaryrefslogtreecommitdiff
path: root/board/freescale/common/fman.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2012-08-14 06:47:23 +0000
committerAndy Fleming <afleming@freescale.com>2012-08-23 10:24:18 -0500
commit45b092d3010caa8d9a1f8c4f89afcbb6c5e5bee6 (patch)
treeef24b84c5bc82fc26ae8cc51eb796b00b9c0c921 /board/freescale/common/fman.h
parentae2291fbe0f9858d332423a97c6b09157005050f (diff)
powerpc/85xx: introduce function serdes_device_from_fm_port()
In order to figure out which SerDes lane a given Fman port is connected to, we need a function that maps the fm_port namespace to the srds_prtcl namespace. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/freescale/common/fman.h')
-rw-r--r--board/freescale/common/fman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/common/fman.h b/board/freescale/common/fman.h
index d39ef080c1..734b1da1d6 100644
--- a/board/freescale/common/fman.h
+++ b/board/freescale/common/fman.h
@@ -23,4 +23,6 @@
int fdt_set_phy_handle(void *fdt, char *compat, phys_addr_t addr,
const char *alias);
+enum srds_prtcl serdes_device_from_fm_port(enum fm_port port);
+
#endif