Dear Pavel Herrmann,

> ARM board.c doesnt respect CONFIG_SYS_GBL_DATA_OFFSET, nor do all boards
> set it, so reorganize the memory a bit to avoid overlaps.
> 
> Signed-off-by: Pavel Herrmann <morpheus.i...@gmail.com>

Ccing Albert

> ---
>  include/configs/versatile.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/versatile.h b/include/configs/versatile.h
> index c9aed72..27ffffe 100644
> --- a/include/configs/versatile.h
> +++ b/include/configs/versatile.h
> @@ -35,7 +35,7 @@
>  #define CONFIG_DM_BLOCK
>  #define CONFIG_SYS_EARLY_MALLOC
>  #define CONFIG_SYS_EARLY_HEAP_ADDR   (CONFIG_SYS_INIT_RAM_ADDR + \
> -                                             CONFIG_SYS_GBL_DATA_OFFSET - \
> +                                             CONFIG_SYS_INIT_RAM_SIZE - \
>                                               CONFIG_SYS_EARLY_HEAP_SIZE - 64)
>  #define CONFIG_SYS_EARLY_HEAP_SIZE   1024

Best regards,
Marek Vasut
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to