public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Patch v2] common: Add get_effective_memsize() to memsize.c
Date: Wed, 12 Feb 2014 08:34:03 +0100	[thread overview]
Message-ID: <20140212083403.480b963e@lilith> (raw)
In-Reply-To: <1392148646-6670-1-git-send-email-yorksun@freescale.com>

Hi York,

On Tue, 11 Feb 2014 11:57:26 -0800, York Sun <yorksun@freescale.com>
wrote:

> This function has been around for powerpc. It is used for systems with
> memory more than CONFIG_MAX_MEM_MAPPED. In case of non-contiguous memory,
> this feature can limit U-boot to one block without going over the limit.
> 
> Signed-off-by: York Sun <yorksun@freescale.com>
> ---
> Change log:
>  v1: The function is added to arch/arm/lib/board.c without changing others
>  v2: The function is moved to common/memsize.c, using __weak. The prototype
>      is added to include/common.h. Also consolidate existing functions for
>      powerpc.
> 
>  arch/arm/lib/board.c               |    2 +-
>  arch/powerpc/cpu/mpc512x/traps.c   |    1 -
>  arch/powerpc/cpu/mpc85xx/traps.c   |    1 -
>  arch/powerpc/cpu/mpc86xx/traps.c   |    1 -
>  arch/powerpc/lib/board.c           |   18 ------------------
>  arch/powerpc/lib/bootm.c           |    1 -
>  board/freescale/c29xpcie/spl.c     |    2 +-
>  board/freescale/p1022ds/spl.c      |    2 +-
>  board/freescale/p1_p2_rdb_pc/spl.c |    2 +-
>  common/board_f.c                   |   11 -----------
>  common/cmd_log.c                   |    2 +-
>  common/memsize.c                   |   16 +++++++++++++++-
>  include/common.h                   |    1 +
>  13 files changed, 21 insertions(+), 39 deletions(-)

For the trivial ARM change:

Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>

Since the rest is essentially PPC, though, it makes sense not to go
through the ARM repo for this patch.

Amicalement,
-- 
Albert.

  reply	other threads:[~2014-02-12  7:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-11 19:57 [U-Boot] [Patch v2] common: Add get_effective_memsize() to memsize.c York Sun
2014-02-12  7:34 ` Albert ARIBAUD [this message]
2014-02-12 18:13   ` York Sun
2014-02-21 19:58 ` [U-Boot] [U-Boot, " Tom Rini

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=20140212083403.480b963e@lilith \
    --to=albert.u.boot@aribaud.net \
    --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