Re: [U-Boot] [PATCH 1/2] fs: fat: dynamically allocate memory for temporary buffer

2019-01-23 Thread Chee, Tien Fong
On Fri, 2019-01-18 at 07:26 +0100, Marek Vasut wrote: > On 1/17/19 7:52 AM, tien.fong.c...@intel.com wrote: > > > > From: Stefan Agner > > > > Drop the statically allocated get_contents_vfatname_block and > > dynamically allocate a buffer only if required. This saves > > 64KiB of memory. > > >

Re: [U-Boot] [PATCH 1/2] fs: fat: dynamically allocate memory for temporary buffer

2019-01-17 Thread Marek Vasut
On 1/17/19 7:52 AM, tien.fong.c...@intel.com wrote: > From: Stefan Agner > > Drop the statically allocated get_contents_vfatname_block and > dynamically allocate a buffer only if required. This saves > 64KiB of memory. > > Signed-off-by: Stefan Agner > Signed-off-by: Tien Fong Chee > --- > fs

[U-Boot] [PATCH 1/2] fs: fat: dynamically allocate memory for temporary buffer

2019-01-16 Thread tien . fong . chee
From: Stefan Agner Drop the statically allocated get_contents_vfatname_block and dynamically allocate a buffer only if required. This saves 64KiB of memory. Signed-off-by: Stefan Agner Signed-off-by: Tien Fong Chee --- fs/fat/fat.c | 19 +-- 1 files changed, 13 insertions(+)