diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-10-15 17:57:29 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-11-27 10:55:30 +0100 |
commit | aa9206ec093a35161354b9372f3016d7ffa61c58 (patch) | |
tree | 5b9e0fdfff611e57b9c564ae893af8a7e117e42c /board/toradex | |
parent | 07edca0bb81857a339f26f3465d5c5602705a94d (diff) |
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 <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'board/toradex')
-rw-r--r-- | board/toradex/colibri_imx7/colibri_imx7.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c index e9f81a53f57..38f1d1f09b8 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; |