[U-Boot] [PATCH 3/3 v2] Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value
Wolfgang Denk
wd at denx.de
Wed Oct 27 20:41:46 CEST 2010
Dear Alessandro Rubini,
In message <20101026214042.GA2897 at morgana.i.gnudd.com> you wrote:
> > I am not convinced, as we don't have an array context here.
>
> But sizeof(struct x) doesn't depend on how struct x is used.
> You can declare a pointer and then allocate for an array.
>
> > I don't see that with
> >
> > struct foo x;
> > struct foo y[N];
> >
> > we have a guarantee that sizeof(x) == sizeof(y[0]).
>
> Yes, I see this requirement. But maybe we're already bikeshedding:
> I won't get offended if you keep the global +15 & ~15.
Please let me get -rc1 out, and all the urgent problems fixed first.
I will try to keep this in mind and re-check when there is a little
more time. Thanks!
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'm growing older, but not up." - Jimmy Buffett
More information about the U-Boot
mailing list