commit | 4f211a5816f5572976aeddb312a44fc13c347015 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Thu Oct 18 14:28:21 2018 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Mon Oct 22 12:59:01 2018 +0200 |
tree | f7f325cf692e2cf15b4b8e9704352a60ca0d04a7 | |
parent | 93b6cfdc056e7d5d8c09c446ff7914b79b8ca5c7 [diff] |
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>