[U-Boot] [PATCH] powerpc:Rename CONFIG_PBLRCW_CONFIG & CONFIG_SYS_FSL_PBL_PBI

Wolfgang Denk wd at denx.de
Mon Jan 13 14:48:39 CET 2014


Dear Prabhakar,

In message <52D37CF5.2090100 at freescale.com> you wrote:
> 
> > What is the reason for the reenaming?  Especially, why changing from
> > CONFIG_ to CONFIG_SYS_ ?
> 
> CONFIG_PBLRCW_CONFIG has 2 CONFIG. it is slightly confusing.
> 
> Reason for moving CONFIG_ to CONFIG_SYS:  These defines enables of 
> adding RCW(power on reset configuration) and
> PBI(pre boot loader commands) in u-boot image. These information will be 
> used by SoC hardware for NAND, SD, SPI boot.
> As these configuration will be used by SoC hardware. I thought of adding 
> CONFIG_SYS.

CONFIG_ means stuff that can be freely adjusted by the end user to
match his likings, like adding one command and removing another.
CONFIG_SYS_ means stuff that is determined by the hardware
configuration, i. e. that has to be adjusted according to specific
properties to make U-Boot working on some hardware, and which can (or
should) not be "adjusted" by the end user.

I don;t understand your intentions enough to say which applies here;
IIRC at least PBI might be more of the CONFIG_ type.

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
How many hardware guys does it take to change a light bulb? "Well the
diagnostics say it's fine buddy, so it's a software problem."


More information about the U-Boot mailing list