]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: ls1021a: Reserve low memory for CMA
authorAlison Wang <alison.wang@nxp.com>
Tue, 21 Jan 2020 07:33:01 +0000 (07:33 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 4 Feb 2020 10:50:25 +0000 (16:20 +0530)
commitfeb8fa2ef0a5ff6627baac749a72dfaa15e37714
tree2ecb5a5db3a5a5978caa85908c8d660c9a319c05
parent9ebde8849a37beff5eccb462a991e05b07f8a360
configs: ls1021a: Reserve low memory for CMA

The default reserved memory for CMA is high memory. If LPAE is enabled,
highmem pages are non-remapped and can not be used with
dma_alloc_coherent. This patch will reserve low memory for CMA and fix
the issue on LS1021A.

Signed-off-by: Peng Ma <peng.ma@nxp.com>
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
Signed-off-by: Alison Wang <alison.wang@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/ls1021atwr.h