From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more functionality
Date: Wed, 29 May 2013 17:54:35 -0500 [thread overview]
Message-ID: <1369868075.18630.45@snotra> (raw)
In-Reply-To: <B3A295C5BD5B13458B2F5C6AFAD910467018FA@039-SN2MPN1-023.039d.mgd.msft.net> (from B40530@freescale.com on Tue May 28 21:11:17 2013)
On 05/28/2013 09:11:17 PM, Zhang Ying-B40530 wrote:
>
>
> -----Original Message-----
> From: Wood Scott-B07421
> Sent: Wednesday, May 29, 2013 6:34 AM
> To: Zhang Ying-B40530
> Cc: Wood Scott-B07421; u-boot at lists.denx.de; afleming at gmail.com; Xie
> Xiaobo-R63061; Ilya Yanok
> Subject: Re: [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more
> functionality
>
> On 05/22/2013 08:26:31 PM, Zhang Ying-B40530 wrote:
> >
> >
> > -----Original Message-----
> > From: Wood Scott-B07421
> > Sent: Wednesday, May 22, 2013 11:46 PM
> > To: Zhang Ying-B40530
> > Cc: Wood Scott-B07421; u-boot at lists.denx.de; afleming at gmail.com; Xie
> > Xiaobo-R63061; Ilya Yanok
> > Subject: Re: [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more
> > functionality
> >
> > On 05/21/2013 09:15:08 PM, Zhang Ying-B40530 wrote:
> > > > diff --git a/include/configs/MPC8313ERDB.h
> > > > b/include/configs/MPC8313ERDB.h
> > > > index c28dfe0..a2bdcff 100644
> > > > --- a/include/configs/MPC8313ERDB.h
> > > > +++ b/include/configs/MPC8313ERDB.h
> > > > @@ -40,7 +40,9 @@
> > > > #define CONFIG_SPL_INIT_MINIMAL
> > > > #define CONFIG_SPL_SERIAL_SUPPORT
> > > > #define CONFIG_SPL_NAND_SUPPORT
> > > > +#ifdef CONFIG_SPL_BUILD
> > > > #define CONFIG_SPL_NAND_MINIMAL
> > > > +#endif
> > > > #define CONFIG_SPL_FLUSH_IMAGE
> > > > #define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
> > > > #define CONFIG_SPL_MPC83XX_WAIT_FOR_NAND
> > > > diff --git a/include/configs/P1022DS.h
> b/include/configs/P1022DS.h
> > > > index 8b13b10..5bdd44a 100644
> > > > --- a/include/configs/P1022DS.h
> > > > +++ b/include/configs/P1022DS.h
> > > > @@ -41,7 +41,9 @@
> > > > #define CONFIG_SPL_INIT_MINIMAL
> > > > #define CONFIG_SPL_SERIAL_SUPPORT
> > > > #define CONFIG_SPL_NAND_SUPPORT
> > > > +#ifdef CONFIG_SPL_BUILD
> > > > #define CONFIG_SPL_NAND_MINIMAL
> > > > +#endif
> > > > #define CONFIG_SPL_FLUSH_IMAGE
> > > > #define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
> > > >
> > > > diff --git a/include/configs/p1_p2_rdb_pc.h
> > > > b/include/configs/p1_p2_rdb_pc.h
> > > > index 7ed634b..bc48d62 100644
> > > > --- a/include/configs/p1_p2_rdb_pc.h
> > > > +++ b/include/configs/p1_p2_rdb_pc.h
> > > > @@ -159,7 +159,9 @@
> > > > #define CONFIG_SPL_INIT_MINIMAL
> > > > #define CONFIG_SPL_SERIAL_SUPPORT
> > > > #define CONFIG_SPL_NAND_SUPPORT
> > > > +#ifdef CONFIG_SPL_BUILD
> > > > #define CONFIG_SPL_NAND_MINIMAL
> > > > +#endif
> > > > #define CONFIG_SPL_FLUSH_IMAGE
> > > > #define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
> > >
> > > Are you sure this belongs in this patch?
> > > [Zhang Ying]
> > > Yes, it is necessary. Because CONFIG_SPL_NAND_MINIMAL has been
> used
> > > in the file law.c and tlb.c in this patch.
> >
> > What I mean is that it should probably have been done earlier, when
> > you
> > introduced CONFIG_SPL_NAND_MINIMAL.
> > [Zhang Ying]
> > I can understand you mean. Because the symbol
> > "CONFIG_SPL_NAND_MINIMAL" has been useless, I think no need to split
> > out a separate patch.
>
> OK, it looks like CONFIG_SPL_NAND_MINIMAL was there before your
> patchset. I think that was an accidental left-over and should have
> been removed (it was replaced with CONFIG_SPL_NAND_DRIVERS, _BASE, and
> _ECC).
>
> Could you describe what specifically you're using it to mean here?
> [Zhang Ying]
> CONFIG_SPL_NAND_MINIMAL is effective only for mpc85xx NAND SPL.
No, it's just a mistake that should be removed. It doesn't mean
anything. There are other SPL targets that use minimal NAND drivers
(e.g. mxc_nand_spl.c) that don't define this.
-Scott
next prev parent reply other threads:[~2013-05-29 22:54 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-20 6:07 [U-Boot] [PATCH 1/6] powerpc/mpc85xx: support application without resetvec segment in the linker script ying.zhang at freescale.com
2013-05-20 6:07 ` [U-Boot] [PATCH 2/6] powerpc/mpc85xx: modify the functionality clear_bss and the end address of the BSS ying.zhang at freescale.com
2013-05-21 19:37 ` Scott Wood
2013-05-22 1:57 ` Zhang Ying-B40530
2013-05-20 6:07 ` [U-Boot] [PATCH 3/6] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL ying.zhang at freescale.com
2013-05-23 15:36 ` Tom Rini
2013-06-21 20:47 ` [U-Boot] [U-Boot, " Andy Fleming
2013-05-20 6:07 ` [U-Boot] [PATCH 4/6] Makefile: move the common makefile line to public area ying.zhang at freescale.com
2013-05-24 16:04 ` Tom Rini
2013-06-06 8:51 ` Zhang Ying-B40530
2013-06-06 13:41 ` Tom Rini
2013-06-21 20:48 ` [U-Boot] [U-Boot, " Andy Fleming
2013-05-20 6:07 ` [U-Boot] [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more functionality ying.zhang at freescale.com
2013-05-21 19:42 ` Scott Wood
2013-05-22 2:15 ` Zhang Ying-B40530
2013-05-22 15:45 ` Scott Wood
2013-05-23 1:26 ` Zhang Ying-B40530
2013-05-28 22:34 ` Scott Wood
2013-05-29 2:11 ` Zhang Ying-B40530
2013-05-29 22:54 ` Scott Wood [this message]
2013-05-24 16:07 ` Tom Rini
2013-05-24 16:11 ` Tom Rini
2013-05-24 19:08 ` Scott Wood
2013-05-24 19:18 ` Tom Rini
2013-05-27 7:43 ` Zhang Ying-B40530
2013-05-20 6:07 ` [U-Boot] [PATCH 6/6] powerpc/p1022ds: boot from SD Card with SPL ying.zhang at freescale.com
2013-05-23 2:29 ` Zhang Ying-B40530
2013-06-21 20:46 ` [U-Boot] [U-Boot, 1/6] powerpc/mpc85xx: support application without resetvec segment in the linker script 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=1369868075.18630.45@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.