From: Wolfgang Denk Date: Mon, 24 Mar 2014 08:30:56 +0100 Subject: [U-Boot] [RFC PATCH 0/17] Version 0 of Kconfig for U-Boot In-Reply-To: <20140324145814.B35F.AA925319@jp.panasonic.com> References: <1395046392-1212-1-git-send-email-yamada.m@jp.panasonic.com> <20140324145814.B35F.AA925319@jp.panasonic.com> Message-ID: <20140324073056.C1FC338042D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Masahiro, In message <20140324145814.B35F.AA925319@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.