]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/mach-omap2/am35xx-emac.h
Merge branch 'stable/for-jens-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / arch / arm / mach-omap2 / am35xx-emac.h
1 /*
2  * Copyright (C) 2011 Ilya Yanok, Emcraft Systems
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8
9 #define AM35XX_DEFAULT_MDIO_FREQUENCY   1000000
10
11 #if defined(CONFIG_TI_DAVINCI_EMAC) || defined(CONFIG_TI_DAVINCI_EMAC_MODULE)
12 void am35xx_emac_init(unsigned long mdio_bus_freq, u8 rmii_en);
13 #else
14 static inline void am35xx_emac_init(unsigned long mdio_bus_freq, u8 rmii_en) {}
15 #endif