]> git.sur5r.net Git - u-boot/blob - arch/arm/include/asm/arch-meson/eth.h
Merge git://git.denx.de/u-boot-imx
[u-boot] / arch / arm / include / asm / arch-meson / eth.h
1 /*
2  * Copyright (C) 2016 BayLibre, SAS
3  * Author: Neil Armstrong <narmstrong@baylibre.com>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #ifndef __MESON_ETH_H__
9 #define __MESON_ETH_H__
10
11 #include <phy.h>
12
13 enum {
14         /* Use GXL Internal RMII PHY */
15         MESON_GXL_USE_INTERNAL_RMII_PHY = 1,
16 };
17
18 /* Configure the Ethernet MAC with the requested interface mode
19  * with some optional flags.
20  */
21 void meson_gx_eth_init(phy_interface_t mode, unsigned int flags);
22
23 #endif /* __MESON_ETH_H__ */