]> git.ipfire.org Git - people/ms/u-boot.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)
commite9303a4146cdc1761c8156627a8265e43dc0dc58
treeceb67a6ccbb7a59776dd2e305063b9a8fd0dd8e1
parent0e8a4264ec705b4d4e381dcb7e1e050dc1b5123d
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