From: Wolfgang Denk Date: Tue, 26 Oct 2010 22:38:11 +0200 Subject: [U-Boot] [PATCH 3/3 v2] Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value In-Reply-To: <20101026195429.GA1349@morgana.i.gnudd.com> References: <1288104730-25651-1-git-send-email-wd@denx.de> <1288101601-24871-4-git-send-email-wd@denx.de> <20101026195429.GA1349@morgana.i.gnudd.com> Message-ID: <20101026203811.D0EF1152451@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 Alessandro Rubini, In message <20101026195429.GA1349@morgana.i.gnudd.com> you wrote: > > This has already been applied, sooner than usual. Isn't it cleaner to > force alignment on the structure itself? This way different architectures > may use different values, if the need arises. It would be better, but how to implement that? Please keep in mind that the pointers are set up in aseembler code, where we don't have such things as "struct" etc. We're dealing with raw addresses here, which is the reason we have to go through all this effort with asm-offsets and such. 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 I have a very small mind and must live with it. -- Edsger Dijkstra