[U-Boot] [PATCH] powerpc: fix LDSCRIPT in NAND boot

Wolfgang Denk wd at denx.de
Tue Apr 12 23:07:13 CEST 2011


Dear Scott Wood,

In message <20110412134338.7b5d0eaa at schlenkerla.am.freescale.net> you wrote:
> On Tue, 12 Apr 2011 20:39:21 +0200
> Wolfgang Denk <wd at denx.de> wrote:
> 
> > Dear Zhao Chenhui,
> > 
> > In message <1296202676-30873-1-git-send-email-b35336 at freescale.com> you wrote:
> > > ONFIG_NAND_U_BOOT indicates whether the SPL is used, while
> > > CONFIG_NAND_SPL is set only when building the SPL itself (and isn't
> > > available in makefiles anyway).  This is the linker script for the
> > > main U-Boot when SPL is in use, so CONFIG_NAND_U_BOOT is the
> > > variable to use.
> > > 
> > > Also, refrain from overriding LDSCRIPT with a NAND-specific script,
> > > unless such a script exists.
> > > 
> > > Signed-off-by: Zhao Chenhui <b35336 at freescale.com>
> > > Acked-by: Scott Wood <scottwood at freescale.com>
> > > ---
> > >  arch/powerpc/config.mk |    6 ++++--
> > >  1 files changed, 4 insertions(+), 2 deletions(-)
> > 
> > Applied, thanks.
> 
> This patch is incorrect and was supposed to be superseded by
> http://patchwork.ozlabs.org/patch/90112/

Ouch. Thanks for the heads up, it was just in time so I could still
drop that patch.  The new one (90112) is on my todo list.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"There are three principal ways to lose money: wine, women, and engi-
neers. While the first two are more pleasant, the third is by far the
more certain."                           - Baron Rothschild, ca. 1800


More information about the U-Boot mailing list