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 3/8] arm: mx6: novena: Define CONFIG_SYS_MALLOC_F_LEN
Date: Tue, 30 Dec 2014 14:35:10 +0100	[thread overview]
Message-ID: <54A2AA0E.1090109@denx.de> (raw)
In-Reply-To: <1418735363-5851-3-git-send-email-marex@denx.de>

On 16/12/2014 14:09, Marek Vasut wrote:
> This board uses setup_i2c() in SPL. The setup_i2c() function internally
> calls gpio_request(), which in turn internally calls strdup(). The strdup()
> requires a running mallocator, so this patch makes the mallocator available.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Igor Grinberg <grinberg@compulab.co.il>
> Cc: Nikita Kiryanov <nikita@compulab.co.il>
> Cc: Sean Cross <xobs@kosagi.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Tim Harvey <tharvey@gateworks.com>
> ---
>  include/configs/novena.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/novena.h b/include/configs/novena.h
> index 879141a..0f3621a 100644
> --- a/include/configs/novena.h
> +++ b/include/configs/novena.h
> @@ -115,6 +115,7 @@
>  #define CONFIG_SYS_MEMTEST_END		0x20000000
>  
>  #define CONFIG_SYS_MALLOC_LEN		(64 * 1024 * 1024)
> +#define CONFIG_SYS_MALLOC_F_LEN		(1 << 10)
>  
>  /* SPL */
>  #define CONFIG_SPL_FAT_SUPPORT
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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:[~2014-12-30 13:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-16 13:09 [U-Boot] [PATCH 1/8] imx: i2c: Zap unnecessary malloc() calls Marek Vasut
2014-12-16 13:09 ` [U-Boot] [PATCH 2/8] arm: mx6: gw_ventana: Define CONFIG_SYS_MALLOC_F_LEN Marek Vasut
2014-12-30 13:35   ` Stefano Babic
2014-12-16 13:09 ` [U-Boot] [PATCH 3/8] arm: mx6: novena: " Marek Vasut
2014-12-30 13:35   ` Stefano Babic [this message]
2014-12-16 13:09 ` [U-Boot] [PATCH 4/8] arm: mx6: novena: Minor coding style fix Marek Vasut
2014-12-30 13:35   ` Stefano Babic
2014-12-16 13:09 ` [U-Boot] [PATCH 5/8] arm: mx6: novena: Minor config file fix Marek Vasut
2014-12-30 13:35   ` Stefano Babic
2014-12-16 13:09 ` [U-Boot] [PATCH 6/8] arm: mx6: novena: Pull GPIO definitions into header Marek Vasut
2014-12-30 13:35   ` Stefano Babic
2014-12-16 13:09 ` [U-Boot] [PATCH 7/8] arm: mx6: novena: Pull video handling into separate file Marek Vasut
2014-12-30 13:36   ` Stefano Babic
2014-12-16 13:09 ` [U-Boot] [PATCH 8/8] arm: mx6: novena: Add proper LVDS display support Marek Vasut
2014-12-16 16:22   ` Simon Glass
2014-12-16 16:59     ` Marek Vasut
2014-12-30 13:37   ` Stefano Babic
2014-12-16 15:34 ` [U-Boot] [PATCH 1/8] imx: i2c: Zap unnecessary malloc() calls Christian Gmeiner
2014-12-16 16:27 ` Simon Glass
2014-12-16 17:00   ` Marek Vasut
2014-12-30 13:34 ` Stefano Babic
2014-12-30 15:34   ` Marek Vasut

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=54A2AA0E.1090109@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.