From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/8] powerpc: spl: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and introduced new symbol CONFIG_SPL_MINIMAL
Date: Mon, 10 Jun 2013 13:32:27 -0500 [thread overview]
Message-ID: <1370889147.18413.10@snotra> (raw)
In-Reply-To: <B3A295C5BD5B13458B2F5C6AFAD9104670508D@039-SN2MPN1-023.039d.mgd.msft.net> (from B40530@freescale.com on Fri Jun 7 21:14:56 2013)
On 06/07/2013 09:14:56 PM, Zhang Ying-B40530 wrote:
>
>
> -----Original Message-----
> From: Wood Scott-B07421
> Sent: Saturday, June 08, 2013 1:21 AM
> To: Zhang Ying-B40530
> Cc: u-boot at lists.denx.de; afleming at gmail.com; Xie Xiaobo-R63061;
> Zhang Ying-B40530
> Subject: Re: [PATCH 5/8] powerpc: spl: deleted unused symbol
> CONFIG_SPL_NAND_MINIMAL and introduced new symbol CONFIG_SPL_MINIMAL
>
> On 06/07/2013 04:25:17 AM, ying.zhang at freescale.com wrote:
> > diff --git a/README b/README
> > index e30e787..fbb50fb 100644
> > --- a/README
> > +++ b/README
> > @@ -2911,6 +2911,11 @@ FIT uImage format:
> > CONFIG_SPL_INIT_MINIMAL
> > Arch init code should be built for a very small image
> >
> > + CONFIG_SPL_MINIMAL
> > + It is different from common SPL. if set, the SPL image
> > + as small as possible, only a tiny part of the SPL code
> > + is built.
>
> How is this different from CONFIG_SPL_INIT_MINIMAL?
> [Zhang Ying]
>
> It is really some confusion. So, we have two options:
>
> 1. CONFIG_SPL_INIT_MINIMAL coexist with CONFIG_SPL_MINIMAL, I can
> increase the description for the difference
> between both:
> CONFIG_SPL_INIT_MINIMAL expressed support for minimal SPL. But it
> cannot be used independently, it must be
> applied with CONFIG_SPL_BUILD. It mainly used in Makefiles.
>
> CONFIG_SPL_MINIMAL equals to CONFIG_SPL_BUILD &&
> CONFIG_SPL_INIT_MINIMAL. It is applied to C files.
For now just use
#if !defined(CONFIG_SPL_INIT_MINIMAL) || !defined(CONFIG_SPL_BUILD)
...and once the patch for the separate SPL autoconf.mk gets merged, we
can change all the SPL symbols to be only defined with CONFIG_SPL_BUILD
(unless there's a specific reason not to for a particular symbol), and
clean up the ifdefs.
-Scott
next prev parent reply other threads:[~2013-06-10 18:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-07 9:25 [U-Boot] [PATCH 2/8 v2] powerpc/mpc85xx: modify the functionality clear_bss and aligning the end address of the BSS ying.zhang at freescale.com
2013-06-07 9:25 ` [U-Boot] [PATCH 5/8] powerpc: spl: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and introduced new symbol CONFIG_SPL_MINIMAL ying.zhang at freescale.com
2013-06-07 17:20 ` Scott Wood
2013-06-08 2:14 ` Zhang Ying-B40530
2013-06-10 18:32 ` Scott Wood [this message]
2013-06-10 22:40 ` Zhang Ying-B40530
2013-06-07 9:25 ` [U-Boot] [PATCH 6/8 v2] spl: env_common.c: make CONFIG_SPL_BUILD contain function env_import ying.zhang at freescale.com
2013-06-07 9:25 ` [U-Boot] [PATCH 8/8] powerpc/p1022ds: boot from spi flash with SPL ying.zhang at freescale.com
2013-06-19 16:36 ` Andy Fleming
2013-06-21 10:12 ` Zhang Ying-B40530
2013-06-21 20:48 ` [U-Boot] [U-Boot, 2/8, v2] powerpc/mpc85xx: modify the functionality clear_bss and aligning the end address of the BSS Andy Fleming
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=1370889147.18413.10@snotra \
--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 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.