[U-Boot] [PATCH v2] nios2: convert dma_alloc_coherent to use memalign

Thomas Chou
2015-10-09T11:35:35Z

Hi Marek,

I look into the code again. I think it is the memalign() that might fail
due to out of memory. While the ioremap() of nios2 won't fail. So I
added a check on memalign() return. Please see v3.

Best regards,
Thomas