[U-Boot] [PATCH V4 3/8] imx: fec: Resolve speed before configuring gasket
Timo Ketola
timo at exertus.fi
Thu Apr 19 22:18:29 CEST 2012
On 19.04.2012 22:27, Troy Kisky wrote:
> On 4/19/2012 1:55 AM, Timo Ketola wrote:
>> -#if !defined(CONFIG_MII)
>> - /* configure gasket for RMII, 50 MHz, no loopback, and no echo */
>> - writew(MIIGSK_CFGR_IF_MODE_RMII,&fec->eth->miigsk_cfgr);
>> +#if defined(CONFIG_RMII)
>
> While this change seems to make sense, it could break some boards.
Please explain how. Every board using fec_mxc define CONFIG_MII - they have to:
#ifndef CONFIG_MII
#error "CONFIG_MII has to be defined!"
#endif
> Please split out to a separate patch, and leave as !defined(CONFIG_MII)
> for this patch.
Stefano?
--
Timo
More information about the U-Boot
mailing list