MLK-15056 arm: imx: use static mapping for imx7ulp AIPSx memory space
authorBai Ping <ping.bai@nxp.com>
Fri, 9 Jun 2017 10:10:35 +0000 (18:10 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:28:14 +0000 (15:28 -0500)
commitaba91793e55e2d0f7ed10d9ca2020801ffb0fee2
tree70ee33a978c4cad3a21c55eddef72246e05d9909
parent7d37c5a4bf9fb2d9557035b6f4143f9985e0f311
MLK-15056 arm: imx: use static mapping for imx7ulp AIPSx memory space

The AIPSx address space of i.MX7ULP need to be mapped as SZ_1M block
in iRAM tlb for suspend code use. If we use ioremap to map these
address region into kernel space, we can't make sure that the returned
virtual address is 1M alignment. So we can map this address regions
as static, then if we use the ioremap to map these memory regions, it will
always return the virtual address of static mapping. So we can make sure
the virtual address is 1M aligned.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
arch/arm/mach-imx/mach-imx7ulp.c
arch/arm/mach-imx/mx7ulp.h