commit | c9e3e04334b53f2bf35ceff211fc5e323e0a3c5b | [log] [tgz] |
---|---|---|
author | York Sun <york.sun@nxp.com> | Thu Sep 28 08:42:12 2017 -0700 |
committer | York Sun <york.sun@nxp.com> | Mon Oct 09 08:48:44 2017 -0700 |
tree | 4ddb16a33fcd8c03c8157c92beaa5fec39c2f5a7 | |
parent | baddaa8a4077819dffc0edb6c3d7b1d8e934865d [diff] |
armv8: fsl-layerscape: Avoid running dram_init_banksize again gd->ram_size is reduced in this function to reserve secure memory. Avoid running this function again to further reduce memory size. This fixes issue for SPL boot with PPA image loaded in which case secure memory is incorrectly allocated due to repeated calling. Signed-off-by: York Sun <york.sun@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org>