Dear Jerry Van Baren,

In message <49dcff1d.6080...@ge.com> you wrote:
> 
> If I'm not confused, I've seen block-local u-boot variables, has the 
> advantages of being more distinctive and limits the lifetime of the 
> variable.
> 
> #ifdef CONFIG_COOL_FEATURE
>       {
>               u32 myvarrocks = foo * bar * bar;
> 
>               gd->neato = myvarrocks
>       }
> #endif
> 
> Is this an acceptable compromise?

Yes, if really necessary, this can be done.

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: w...@denx.de
Of all the things I've lost, I miss my mind the most.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to