From: Wolfgang Denk Date: Fri, 22 Oct 2010 09:22:16 +0200 Subject: [U-Boot] [PATCH] corenet_ds: Update CONFIG_SYS_GBL_DATA_SIZE to deal with growth in gd_t In-Reply-To: <1287731621-19353-1-git-send-email-galak@kernel.crashing.org> References: <1287731621-19353-1-git-send-email-galak@kernel.crashing.org> Message-ID: <20101022072216.DD8891359B3@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 Kumar Gala, In message <1287731621-19353-1-git-send-email-galak@kernel.crashing.org> you wrote: > The recent change the env code added an additional 32 bytes into gd_t > and that causes to grow pass the previous CONFIG_SYS_GBL_DATA_SIZE size. > > Signed-off-by: Kumar Gala One thing I always wondered is why we don't simply use sizeof(gd_t) instead. What do you think? 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 Documentation is the castor oil of programming. Managers know it must be good because the programmers hate it so much.