public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/4] fix memory corruption on versatile
Date: Mon, 24 Dec 2012 02:27:53 +0100	[thread overview]
Message-ID: <201212240227.54481.marex@denx.de> (raw)
In-Reply-To: <1356312106-23337-3-git-send-email-morpheus.ibis@gmail.com>

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.ibis@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

       reply	other threads:[~2012-12-24  1:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1356312106-23337-1-git-send-email-morpheus.ibis@gmail.com>
     [not found] ` <1356312106-23337-3-git-send-email-morpheus.ibis@gmail.com>
2012-12-24  1:27   ` Marek Vasut [this message]
2012-12-24 13:56     ` [U-Boot] [PATCH 3/4] fix memory corruption on versatile Albert ARIBAUD
2012-12-24 14:57       ` Pavel Herrmann
2012-12-25 11:37         ` Albert ARIBAUD
2012-12-25 22:35           ` Pavel Herrmann
2012-12-27  8:59             ` Albert ARIBAUD
2012-12-28  1:44               ` Pavel Herrmann
2012-12-28 10:31                 ` Albert ARIBAUD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201212240227.54481.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox