[U-Boot] [PATCH] corenet_ds: Update CONFIG_SYS_GBL_DATA_SIZE to deal with growth in gd_t

Kumar Gala galak at kernel.crashing.org
Fri Oct 22 09:24:24 CEST 2010


On Oct 22, 2010, at 2:22 AM, Wolfgang Denk wrote:

> Dear Kumar Gala,
> 
> In message <1287731621-19353-1-git-send-email-galak at 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 <galak at kernel.crashing.org>
> 
> One thing I always wondered is why we don't simply use sizeof(gd_t)
> instead.  What do you think?

I was wondering the same thing, let me try it and see what happens.

- k


More information about the U-Boot mailing list