From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/arm/mach-omap2/am35xx-emac.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ANDROID_3.4.5/arch/arm/mach-omap2/am35xx-emac.h (limited to 'ANDROID_3.4.5/arch/arm/mach-omap2/am35xx-emac.h') diff --git a/ANDROID_3.4.5/arch/arm/mach-omap2/am35xx-emac.h b/ANDROID_3.4.5/arch/arm/mach-omap2/am35xx-emac.h new file mode 100644 index 00000000..15c6f9ce --- /dev/null +++ b/ANDROID_3.4.5/arch/arm/mach-omap2/am35xx-emac.h @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2011 Ilya Yanok, Emcraft Systems + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#define AM35XX_DEFAULT_MDIO_FREQUENCY 1000000 + +#if defined(CONFIG_TI_DAVINCI_EMAC) || defined(CONFIG_TI_DAVINCI_EMAC_MODULE) +void am35xx_emac_init(unsigned long mdio_bus_freq, u8 rmii_en); +#else +static inline void am35xx_emac_init(unsigned long mdio_bus_freq, u8 rmii_en) {} +#endif -- cgit