]> git.baikalelectronics.ru Git - uboot.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)
commit9c1a5e09955526a1c839ec6401954e9bd04ecd65
tree2ecb5a5db3a5a5978caa85908c8d660c9a319c05
parentd6e22cfb6ddf9c2b5269a26ff701cb108716644f
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