In message <[EMAIL PROTECTED]> you wrote:
> Current fat.c have three 64KB static array, it makes
> the BSS section larger.
> Change the static to dynamic allocation.

So what's the benefit? BSS size doesn't matter - itr comes for free.
It get's initialized automatically.

You add more than 30 lines of code instead, plus a lot of string
space, plus a new failure mode (malloc failed) that didn't exist
before.

Looks like a pessimizing patch to me, but maybe you just did not
describe which problem you are trying to fix?

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: [EMAIL PROTECTED]
Remember, there's a big difference between kneeling down and  bending
over.                                                   - Frank Zappa

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to