summaryrefslogtreecommitdiff
path: root/include/configs/apalis_imx6.h
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-09-15 15:40:28 -0700
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-01-11 21:22:26 +0100
commit100df3eed5f3bccb820512260e63c0f60a92e2a0 (patch)
tree0a05211847aa9776c6c55bc47c95165ecb6f90bc /include/configs/apalis_imx6.h
parent0ba4e4339b3cab02803053fe3827c443f31518b8 (diff)
colibri_imx7/colibri_imx6/apalis_imx6: limit bootm memory
Limit memory used for relocation of FDT or initrd. This is required to make sure that relocated artifacts are within lowmem. If fdt_high or initrd_high are not set, U-Boot automatically relocates artifacts to the end of memory. But this area won't be part of lowmem and hence will not be accessible by the kernel during early boot. With VM split set to 2G/2G (i.MX default), only the 2GB Apalis iMX6 is affected by that issue. With VM split set to 3G/1G (ARM default) also modules with 1GB of memory are affected. With the latter the amount of lowmem will be 760MiB. The value must also not exceed available memory! Use a safe value of 512MiB for Apalis and 256MiB for Colibri. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'include/configs/apalis_imx6.h')
-rw-r--r--include/configs/apalis_imx6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index 80a76a8560..e71cb7864b 100644
--- a/include/configs/apalis_imx6.h
+++ b/include/configs/apalis_imx6.h
@@ -207,6 +207,7 @@
"${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0"
#define MEM_LAYOUT_ENV_SETTINGS \
+ "bootm_size=0x20000000\0" \
"fdt_addr_r=0x12000000\0" \
"fdt_high=0xffffffff\0" \
"initrd_high=0xffffffff\0" \