[PATCH 2/2] net: imx_fec: fix RMII support for i.MX6
Sascha Hauer
s.hauer at pengutronix.de
Thu Feb 21 08:28:15 EST 2013
On Thu, Feb 21, 2013 at 10:21:14AM +0100, Hubert Feurstein wrote:
> Signed-off-by: Hubert Feurstein <h.feurstein at gmail.com>
Applied (only this one)
Sascha
> ---
> drivers/net/fec_imx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
> index 6dfb093..80fb2ce 100644
> --- a/drivers/net/fec_imx.c
> +++ b/drivers/net/fec_imx.c
> @@ -309,7 +309,7 @@ static int fec_init(struct eth_device *dev)
> }
>
> if (fec->xcv_type == RMII) {
> - if (fec_is_imx28(fec)) {
> + if (fec_is_imx28(fec) || fec_is_imx6(fec)) {
> rcntl |= FEC_R_CNTRL_RMII_MODE | FEC_R_CNTRL_FCE |
> FEC_R_CNTRL_NO_LGTH_CHECK;
> } else {
> --
> 1.8.1.3
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list