[U-Boot-Users] [Patch 2/4] U-Boot-V2: ARM: introduce CONFIG_SKIP_RELOCATION

Sascha Hauer s.hauer at pengutronix.de
Thu May 8 17:16:09 CEST 2008


On Wed, May 07, 2008 at 10:38:35AM -0500, Menon, Nishanth wrote:
> Sascha,
> 
> > -----Original Message-----
> > From: Sascha Hauer [mailto:s.hauer at pengutronix.de]
> > Sent: Wednesday, May 07, 2008 10:29 AM
> > To: Menon, Nishanth
> > Cc: u-boot-users at lists.sourceforge.net
> > Subject: Re: [Patch 2/4] U-Boot-V2: ARM: introduce CONFIG_SKIP_RELOCATION
> > 
> > CONFIG_RELOCATABLE on powerpc means something different. On arm we start
> > U-Boot by running it at an address != link address and _copy_ (not
> > relocate) ourselves to the address we are linked at. On powerpc real
> > relocation is done if CONFIG_RELOCATABLE is enabled.
> > Hence the option you wanted to add should better have the name
> > CONFIG_SKIP_COPY_TO_SDRAM or something like that.
> Hmm.. good point. My ignorance on ppc is kicking me ;).. I will remove the SKIP_COPY part from my patch. Couple of questions:
> a) Are we ok with removing dependency of ARM from "config SKIP_LOWLEVEL_INIT" in common/Kconfig (as opposed to my patch in which I moved it to arch/arm/Kconfig)?  Considering that it is used: arch/m68k/cpu/start-mcfv4e.S

so SKIP_LOWLEVEL_INIT would depend on CONFIG_ARCH_HAS_INIT_LOWLEVEL?
> 
> b) Further am wondering if it is fine to convert ARCH_HAS_INIT_LOWLEVEL to CONFIG_ARCH_HAS_INIT_LOWLEVEL in common/Kconfig and make it arch independent?

ok

Regards
 Sascha

-- 
Pengutronix e.K. - Linux Solutions for Science and Industry
-----------------------------------------------------------
Kontakt-Informationen finden Sie im Header dieser Mail oder
auf der Webseite -> http://www.pengutronix.de/impressum/ <-




More information about the U-Boot mailing list