aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/fsl/mpc85xx_ddr_gen2.c
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2021-03-22 08:19:59 -0500
committerPatrice Chotard <patrice.chotard@foss.st.com>2021-04-09 11:59:13 +0200
commit99e1191845981c931db6a54022bcfdb9e87c3ca7 (patch)
tree963fdd8f38eda038c330028a1bc128ff80bd85f9 /drivers/ddr/fsl/mpc85xx_ddr_gen2.c
parent2214d5e54c3cd55ba1d83f18985bbcb0a9dabe1a (diff)
configs: stm32mp1: stm32mp1: Increase SPL malloc() size
Since commit 03f1f78a9b44 ("spl: fit: Prefer a malloc()'d buffer for loading images"), FIT images must be malloc()'d before being loaded. The old size of 1 MiB is suitable for FIT images with u-boot and an FDT, but something containing a linux kernel is almost sure to fail. It's safe to extend malloc all the way to 0xc2000000, but no further. Linux likes to be loaded at 0xc2000000, so we use that as our cutoff point. This gives us 29 MiB of malloc() space, which suited for more complex FIT images including several DTBs, kernel, and OP-TEE images. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'drivers/ddr/fsl/mpc85xx_ddr_gen2.c')
0 files changed, 0 insertions, 0 deletions