From: Wolfgang Denk Date: Wed, 10 Nov 2010 21:11:21 +0100 Subject: [U-Boot] kirkwood: CONFIG_SYS_INIT_SP_ADDR wrong? In-Reply-To: <4CDABCF8.901@denx.de> References: <4CDAA4B4.6070703@schmid-telecom.ch> <4CDAA914.1040402@denx.de> <4CDAAE24.3010400@schmid-telecom.ch> <4CDAB414.7010003@denx.de> <4CDAB697.4010405@schmid-telecom.ch> <4CDABCF8.901@denx.de> Message-ID: <20101110201121.7C54F1522C0@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 Heiko Schocher, In message <4CDABCF8.901@denx.de> you wrote: > > Then we should add this alignment into the generation of > GENERATED_GBL_DATA_SIZE. No. GENERATED_GBL_DATA_SIZE is just a size. As you don't really know the alignment of the base address that GENERATED_GBL_DATA_SIZE is added to or substracted from, you cannot add the alignment requirements here. This must be done where they are neede d- whichis also much better to make the code readable / understandable. 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 He'd been wrong, there _was_ a light at the end of the tunnel, and it was a flamethrower. - Terry Pratchett, _Mort_