]> git.baikalelectronics.ru Git - uboot.git/commit
imx8: add mmu and dram related functions
authorPeng Fan <peng.fan@nxp.com>
Thu, 18 Oct 2018 12:28:21 +0000 (14:28 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 22 Oct 2018 10:59:01 +0000 (12:59 +0200)
commit935f52144b07dd367c9d13b6b6fae30475b1ec93
treef7f325cf692e2cf15b4b8e9704352a60ca0d04a7
parent4828e4d604358d0f1602a1b4950076ace0b55497
imx8: add mmu and dram related functions

Add mmu memmap, some memory regions are reserved by M4, Arm Trusted
Firmware, so need to get memreg using SCFW API and setup the memmap.

Add dram_init, dram_init_banksize, get_effective_memsize functions,
according to the memreg.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/mach-imx/imx8/cpu.c