All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 002/159] arm: mx6: Reduce SPL malloc pool size
Date: Mon, 7 Dec 2015 09:14:10 +0100	[thread overview]
Message-ID: <56653FD2.2090900@denx.de> (raw)
In-Reply-To: <1449457640-3055-2-git-send-email-hl@rock-chips.com>

Hi Lin,

On 07/12/2015 04:04, Lin Huang wrote:
> From: Marek Vasut <marex@denx.de>
> 
> Using 50 MiB malloc pool in SPL is nonsense. Since the caches are not
> enabled in SPL, it takes 2 seconds to init the pool and has no obvious
> benefit. Reduce the size to 1 MiB.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Tim Harvey <tharvey@gateworks.com>
> Tested-by: Stefano Babic <sbabic@denx.de>
> Acked-by: Tim Harvey <tharvey@gateworks.com>
> ---
>  include/configs/imx6_spl.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
> index 1744f2c..43ce7fe 100644
> --- a/include/configs/imx6_spl.h
> +++ b/include/configs/imx6_spl.h
> @@ -63,15 +63,15 @@
>  
>  #if defined(CONFIG_MX6SX) || defined(CONFIG_MX6UL) || defined(CONFIG_MX6SL)
>  #define CONFIG_SPL_BSS_START_ADDR      0x88200000
> -#define CONFIG_SPL_BSS_MAX_SIZE        0x100000        /* 1 MB */
> +#define CONFIG_SPL_BSS_MAX_SIZE        0x100000		/* 1 MB */
>  #define CONFIG_SYS_SPL_MALLOC_START    0x88300000
> -#define CONFIG_SYS_SPL_MALLOC_SIZE     0x3200000       /* 50 MB */
> +#define CONFIG_SYS_SPL_MALLOC_SIZE     0x100000		/* 1 MB */
>  #define CONFIG_SYS_TEXT_BASE           0x87800000
>  #else
>  #define CONFIG_SPL_BSS_START_ADDR	0x18200000
>  #define CONFIG_SPL_BSS_MAX_SIZE		0x100000	/* 1 MB */
>  #define CONFIG_SYS_SPL_MALLOC_START	0x18300000
> -#define CONFIG_SYS_SPL_MALLOC_SIZE	0x3200000	/* 50 MB */
> +#define CONFIG_SYS_SPL_MALLOC_SIZE	0x100000	/* 1 MB */
>  #define CONFIG_SYS_TEXT_BASE		0x17800000
>  #endif
>  #endif
> 

Marek's patch was already accepted and it is mainline. Which is the
reason to post it again ?

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2015-12-07  8:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-07  3:04 [U-Boot] [PATCH 001/159] LCD: Add an option to skip registration as an stdio output Lin Huang
2015-12-07  3:04 ` [U-Boot] [PATCH 002/159] arm: mx6: Reduce SPL malloc pool size Lin Huang
2015-12-07  8:14   ` Stefano Babic [this message]
2015-12-07  3:04 ` [U-Boot] [PATCH 003/159] cgtqmx6eval: Add SPI NOR flash support Lin Huang
2015-12-07  3:12 ` [U-Boot] [PATCH 001/159] LCD: Add an option to skip registration as an stdio output Lin Huang

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=56653FD2.2090900@denx.de \
    --to=sbabic@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.