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

Otavio Salvador
2014-08-20T19:38:25Z

On Wed, Aug 20, 2014 at 4:01 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> mx6solox has a requirement for 64 bytes alignment for RX DMA transfer.
>
> Adjust it accordingly.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

I'd use a static method to return the value, so you avoid some of #ifdef

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750