public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] spl: descend into lib/ for all the SPL boards
Date: Fri, 24 Apr 2015 13:34:49 -0500	[thread overview]
Message-ID: <1429900489.16357.43.camel@freescale.com> (raw)
In-Reply-To: <CAPnjgZ1Dy=p+VqF1KtgBKSDgg9x4Uw3MHqbF3Z4obs24wiaU3w@mail.gmail.com>

On Thu, 2015-04-23 at 11:37 -0600, Simon Glass wrote:
> Hi Tom,
> 
> On 22 April 2015 at 08:14, Tom Rini <trini@konsulko.com> wrote:
> > On Tue, Apr 21, 2015 at 12:37:18PM +0900, Masahiro Yamada wrote:
> >> Currently, CONFIG_SPL_LIBGENERIC_SUPPORT must be defined
> >> to build under lib/ directory for SPL.
> >>
> >> This directory contains very basic functions such as memcpy, memset
> >> in lib/string.c, so it should be very useful for all the boards.
> >>
> >> Because SPL always enables compiler's garbage collection, this change
> >> should not give impact on its memory footprint.
> >
> > Since we had a recent reminder about
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54303 did you do a size
> > check before/after and confirm no change?  Thanks!
> 
> With just this patch applied to upstream/master:
> 
> buildman -b try-masa -sS
> boards.cfg is up to date. Nothing to do.
> Summary of 2 commits for 1075 boards (32 threads, 1 job per thread)
> 01: serial: pl01x: fix PL010 regression
>   blackfin:  +   bf609-ezkit
>    powerpc:  +   taihu ocotea taishan katmai ebony alpr
>         sh:  +   sh7753evb sh7785lcr_32bit sh7785lcr
>      nios2:  +   nios2-generic
> microblaze:  +   microblaze-generic
>   openrisc:  +   openrisc-generic
>        arm:  +   openrd_base axm openrd_ultimate openrd_client
> tricorder tricorder_flash mx53loco taurus
> 02: spl: descend into lib/ for all the SPL boards
>    powerpc:  +   P1022DS_36BIT_NAND
>    powerpc: (for 406/411 boards)  spl/u-boot-spl:all +1.3
> spl/u-boot-spl:data +0.4  spl/u-boot-spl:text +0.9
> 
> So I think it looks fine.

That doesn't look fine -- it looks like this patch broke
P1022DS_36BIT_NAND.  There are some SPL targets that are very
constrained (e.g. 4K) and do not need or want or have room for this
stuff.  Garbage collection doesn't catch everything.

-Scott

  reply	other threads:[~2015-04-24 18:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-21  3:37 [U-Boot] [PATCH] spl: descend into lib/ for all the SPL boards Masahiro Yamada
2015-04-21 16:53 ` York Sun
2015-04-23 17:43   ` Simon Glass
2015-04-22 14:14 ` Tom Rini
2015-04-23 17:37   ` Simon Glass
2015-04-24 18:34     ` Scott Wood [this message]
2015-04-24 20:01       ` 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=1429900489.16357.43.camel@freescale.com \
    --to=scottwood@freescale.com \
    --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