lib: sysmem: promise sysmem_alloc_by_name() alloc cacheline align buffer

This function is called to alloc buffer for storage driver
access, make sure the address is cacheline align.

Also better for any module which calls it.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I520d16ea28764671eb566cc96cab744ca6b13fc2
This commit is contained in:
Joseph Chen 2019-12-24 20:58:55 +08:00
parent 398d3e80fb
commit 1ce69de6f2
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ void *sysmem_alloc_by_name(const char *name, phys_size_t size)
name, name,
SYSMEM_ALLOC_ANYWHERE, SYSMEM_ALLOC_ANYWHERE,
size, size,
SYSMEM_ALLOC_NO_ALIGN); ARCH_DMA_MINALIGN);
if (!paddr) if (!paddr)
sysmem_dump(); sysmem_dump();