[U-Boot] [PATCH v2 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

Fabio Estevam
2014-08-21T11:55:40Z

On Thu, Aug 21, 2014 at 5:01 AM, Stefano Babic <sbabic@denx.de> wrote:

> I go just a bit further according to Otavio's comment. In this way, we
> do not remove #ifdef, we have only moved. What about using is_cpu_type()
> instead of this ? If you do not want to add the macro for not mx6 socs
> (preferable way, I think), the get_cpu_rev() should be available for all
> i.MXes.

Yes, the issue with this approach is that is_cpu_type() is currently
only available for mx6.

mx5, mx27, mx25, mx28 also need to be able to 'see' is_cpu_type(), but
this requires some work to do though.