[U-Boot] [RFC PATCH 0/17] Version 0 of Kconfig for U-Boot

Wolfgang Denk wd at denx.de
Mon Mar 24 08:30:56 CET 2014


Dear Masahiro,

In message <20140324145814.B35F.AA925319 at jp.panasonic.com> you wrote:
> 
> You are suggesting a better idea below.
> We should not treat SPL as a special case.
> 
> In my opinion, CONFIG_SPL_*  should be discontinued.
> 
> For example, we can merge CONFIG_SPL_TEXT_BASE
> to CONFIG_SYS_TEXT_BASE.

Are you sure this is always possible?

> #ifdef CONFIG_SPL_BUILD
> #  define CONFIG_SYS_TEXT_BASE    0x00000000
> #else
> #  define CONFIG_SYS_TEXT_BASE    0x10000000
> #endif
> 
> rather than
> #define CONFIG_SPL_TEXT_BASE    0x00000000
> #define CONFIG_SYS_TEXT_BASE    0x10000000

Are there really no cases where for example the SPL needs to know
CONFIG_SYS_TEXT_BASE, for example when loading U-Boot to RAM?
I think that the "normal" U-Boot does not need to know about the SPL,
but is this also always true the other way round?

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
Our business is run on trust.  We trust you will pay in advance.


More information about the U-Boot mailing list