From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more functionality
Date: Fri, 24 May 2013 12:07:53 -0400 [thread overview]
Message-ID: <20130524160753.GR17119@bill-the-cat> (raw)
In-Reply-To: <1369165322.1374.11@scott-Lenovo-G560>
On Tue, May 21, 2013 at 02:42:02PM -0500, Scott Wood wrote:
> Please change the title and the rest of the changelog to describe
> what functionality you're adding and why.
>
> On 05/20/2013 01:07:27 AM, ying.zhang at freescale.com wrote:
> >diff --git a/common/env_common.c b/common/env_common.c
> >index 906b41f..8cb81e9 100644
> >--- a/common/env_common.c
> >+++ b/common/env_common.c
> >@@ -156,7 +156,6 @@ int set_default_vars(int nvars, char * const
> >vars[])
> > H_NOCLEAR | H_INTERACTIVE, nvars, vars);
> > }
> >
> >-#ifndef CONFIG_SPL_BUILD
> > /*
> > * Check if CRC is valid and (if yes) import the environment.
> > * Note that "buf" may or may not be aligned.
> >@@ -188,7 +187,6 @@ int env_import(const char *buf, int check)
> >
> > return 0;
> > }
> >-#endif
>
> This ifndef was introduced by Ilya Yanok in commit
> 7ac2fe2da21d292aeaf3af74e5c80de9ce9dab56.
>
> Ilya, what are the consequences of removing this? Is there some
> other symbol we can use here?
This was likely done so that we could fit the combination of USB RNDIS
networking in SPL into the size constraint we have and the need for more
than just unused section discarding to get rid of codepaths we know
won't be taken (but couldn't compile-time determine).
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130524/abff7bf6/attachment.pgp>
next prev parent reply other threads:[~2013-05-24 16:07 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
2013-05-24 16:07 ` Tom Rini [this message]
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=20130524160753.GR17119@bill-the-cat \
--to=trini@ti.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