xref: /openbmc/u-boot/board/freescale/common/fman.h (revision 45b092d3)
12915609aSAndy Fleming /*
22915609aSAndy Fleming  * Copyright 2011 Freescale Semiconductor, Inc.
32915609aSAndy Fleming  *
42915609aSAndy Fleming  * This program is free software; you can redistribute it and/or
52915609aSAndy Fleming  * modify it under the terms of the GNU General Public License as
62915609aSAndy Fleming  * published by the Free Software Foundation; either version 2 of
72915609aSAndy Fleming  * the License, or (at your option) any later version.
82915609aSAndy Fleming  *
92915609aSAndy Fleming  * This program is distributed in the hope that it will be useful,
102915609aSAndy Fleming  * but WITHOUT ANY WARRANTY; without even the implied warranty of
112915609aSAndy Fleming  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
122915609aSAndy Fleming  * GNU General Public License for more details.
132915609aSAndy Fleming  *
142915609aSAndy Fleming  * You should have received a copy of the GNU General Public License
152915609aSAndy Fleming  * along with this program; if not, write to the Free Software
162915609aSAndy Fleming  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
172915609aSAndy Fleming  * MA 02111-1307 USA
182915609aSAndy Fleming  */
192915609aSAndy Fleming 
202915609aSAndy Fleming #ifndef __FMAN_BOARD_HELPER__
212915609aSAndy Fleming #define __FMAN_BOARD_HELPER__
222915609aSAndy Fleming 
231fc0d594STimur Tabi int fdt_set_phy_handle(void *fdt, char *compat, phys_addr_t addr,
242915609aSAndy Fleming 			const char *alias);
252915609aSAndy Fleming 
26*45b092d3STimur Tabi enum srds_prtcl serdes_device_from_fm_port(enum fm_port port);
27*45b092d3STimur Tabi 
282915609aSAndy Fleming #endif
29