LF-2769-1 mx7dsabresd: Reserve top 1MB DDR for RPMSG usage
authorYe Li <ye.li@nxp.com>
Thu, 19 Nov 2020 03:03:13 +0000 (19:03 -0800)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 10:26:22 +0000 (03:26 -0700)
commitfd10c3768cdbdf9c129b523322aa2b3452e0b08a
treed3bf112ff6bbb6b66f9d5d0c0079c96eeacae3ee
parentda4317bef107b78440c6df771e5eb7c6c0726f70
LF-2769-1 mx7dsabresd: Reserve top 1MB DDR for RPMSG usage

When booting with M4 RPMSG demo in u-boot, the M4 will use top 1MB
DDR for RPMSG vring buffer. This overlaps with u-boot MMU table and
modifies some MMU entries.
On mx7dsabresd, this cause u-boot failed to access LCDIF registers
due to the wrong MMU entries.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 8a03d17c92cc04765c6b93f716ea081486fd15f0)
(cherry picked from commit b44fab8da91e4f74a3ab7e537368644ea1a25873)
board/freescale/mx7dsabresd/mx7dsabresd.c