]> git.baikalelectronics.ru Git - uboot.git/commit
armv8: fsl-layerscape: Fix MC reserved memory calculation
authorYork Sun <york.sun@nxp.com>
Thu, 7 Sep 2017 17:12:32 +0000 (10:12 -0700)
committerYork Sun <york.sun@nxp.com>
Mon, 11 Sep 2017 15:01:07 +0000 (08:01 -0700)
commit6b5b2c0475504a523ee0a40577108efe7dd6f69e
treeceb67a6ccbb7a59776dd2e305063b9a8fd0dd8e1
parent8a4b56f8b6c9c12d843ed8bb80e83c23bb14d4f6
armv8: fsl-layerscape: Fix MC reserved memory calculation

In case high region memory doesn't have enough space for Management
Complex (MC), the return value should indicate a failure so the
caller can handle it accordingly.

Signed-off-by: York Sun <york.sun@nxp.com>
Reported-by: Ebony Zhu <ebony.zhu@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c