
20 Aug
2014
20 Aug
'14
11:11 p.m.
On Wed, Aug 20, 2014 at 5:48 PM, Fabio Estevam festevam@gmail.com wrote:
On Wed, Aug 20, 2014 at 4:38 PM, Otavio Salvador otavio@ossystems.com.br wrote:
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
Not sure I understood your suggestion. Care to provide an example?
static int _rx_alignment() { #ifdef SX static int v = ??; #else static int v = ??; #endif
return v; }
?
--
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