public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] nios2: trim CONFIG_SYS_MEMTEST_END
Date: Fri, 6 Nov 2015 09:30:54 +0800	[thread overview]
Message-ID: <563C02CE.9010304@wytron.com.tw> (raw)
In-Reply-To: <1446615011-30320-2-git-send-email-thomas@wytron.com.tw>



On 2015?11?04? 13:30, Thomas Chou wrote:
> Trim CONFIG_SYS_MEMTEST_END location.
>
> CONFIG_SYS_MONITOR_LEN
>    Reserving 256k for U-Boot at: d7fc0000
> CONFIG_ENV_SIZE
> CONFIG_SYS_MALLOC_LEN
>    Reserving 256k for malloc() at: d7f80000
> 0x10000 for the rest
>    Reserving 68 Bytes for Board Info at: d7f7ffbc
>    Reserving 208 Bytes for Global Data at: d7f7feec
>    Reserving 12000 Bytes for FDT at: d7f7d00c
>    Stack
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
>   include/configs/nios2-generic.h | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
>

Applied to u-boot-nios.

> diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h
> index 9a01b22..4569de8 100644
> --- a/include/configs/nios2-generic.h
> +++ b/include/configs/nios2-generic.h
> @@ -96,7 +96,10 @@
>   					 16)	/* Print buf size */
>   #define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_SDRAM_BASE
>   #define CONFIG_SYS_MEMTEST_START	CONFIG_SYS_SDRAM_BASE
> -#define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_INIT_SP - 0x20000)
> +#define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_MONITOR_BASE - \
> +					 CONFIG_ENV_SIZE - \
> +					 CONFIG_SYS_MALLOC_LEN -	\
> +					 0x10000)
>   #define CONFIG_CMDLINE_EDITING
>   #define CONFIG_CMD_GPIO
>
>

  parent reply	other threads:[~2015-11-06  1:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-04  5:30 [U-Boot] [PATCH 1/2] nios2: trim CONFIG_SYS_MALLOC_LEN Thomas Chou
2015-11-04  5:30 ` [U-Boot] [PATCH 2/2] nios2: trim CONFIG_SYS_MEMTEST_END Thomas Chou
2015-11-04 14:27   ` Chin Liang See
2015-11-05  5:47     ` Thomas Chou
2015-11-09  6:37       ` Chin Liang See
2015-11-06  1:30   ` Thomas Chou [this message]
2015-11-04 14:22 ` [U-Boot] [PATCH 1/2] nios2: trim CONFIG_SYS_MALLOC_LEN Chin Liang See
2015-11-06  1:30 ` Thomas Chou

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=563C02CE.9010304@wytron.com.tw \
    --to=thomas@wytron.com.tw \
    --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