From aa9206ec093a35161354b9372f3016d7ffa61c58 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 15 Oct 2018 17:57:29 +0200 Subject: colibri_imx7: fix comments about memory alignment requirements Linux seems to require memory to be aligned by 2MiB to properly use it as lowmem. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx7/colibri_imx7.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c index e9f81a53f5..38f1d1f09b 100644 --- a/board/toradex/colibri_imx7/colibri_imx7.c +++ b/board/toradex/colibri_imx7/colibri_imx7.c @@ -482,7 +482,7 @@ int checkboard(void) #if defined(CONFIG_IMX_BOOTAUX) ulong board_get_usable_ram_top(ulong total_size) { - /* Reserve last 1MiB for M4 on modules with 256MiB RAM */ + /* Reserve last 2MiB for M4 on modules with 256MiB RAM */ if (gd->ram_size == SZ_256M) return gd->ram_top - SZ_2M; else @@ -512,7 +512,7 @@ int ft_board_setup(void *blob, bd_t *bd) u64 start[2], size[2]; /* - * Reserve 1MB of memory for M4 (1MiB is also the minimum + * Reserve 2MiB of memory for M4 (2MiB is also the minimum * alignment for Linux due to MMU section size restrictions). */ start[0] = gd->bd->bi_dram[0].start; -- cgit v1.2.3