Skip to content
Snippets Groups Projects
Commit 771f74c3 authored by Kuo-Jung Su's avatar Kuo-Jung Su Committed by Albert ARIBAUD
Browse files

arm: dma_alloc_coherent: malloc() -> memalign()


Even though the MMU/D-cache is off, some DMA engines still
expect strict address alignment.

For example, the incoming Faraday FTMAC110 & FTGMAC100 ethernet
controllers expect the tx/rx descriptors should always be aligned
to 16-bytes boundary.

Signed-off-by: default avatarKuo-Jung Su <dantesu@faraday-tech.com>
CC: Albert ARIBAUD <albert.u.boot@aribaud.net>
parent fb8d49cb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment