Re: [U-Boot-Users] [PATCH] fs: make the static array to dynamic allocation

2008-07-06 Thread Wolfgang Denk
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

Re: [U-Boot-Users] [PATCH] fs: make the static array to dynamic allocation

2008-06-26 Thread Kumar Gala
On Jun 26, 2008, at 9:50 AM, Dave Liu wrote: > Current fat.c have three 64KB static array, it makes > the BSS section larger. > Change the static to dynamic allocation. > > Signed-off-by: Dave Liu <[EMAIL PROTECTED]> > --- > fs/fat/fat.c | 38 +++--- > 1 files cha

[U-Boot-Users] [PATCH] fs: make the static array to dynamic allocation

2008-06-26 Thread Dave Liu
Current fat.c have three 64KB static array, it makes the BSS section larger. Change the static to dynamic allocation. Signed-off-by: Dave Liu <[EMAIL PROTECTED]> --- fs/fat/fat.c | 38 +++--- 1 files changed, 35 insertions(+), 3 deletions(-) diff --git a/fs/fat/