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

2019-02-05 Thread Marek Vasut
On 2/1/19 4:20 PM, Chee, Tien Fong wrote: > On Fri, 2019-02-01 at 09:19 +0100, Marek Vasut wrote: >> On 2/1/19 9:11 AM, Chee, Tien Fong wrote: >>> >>> On Thu, 2019-01-31 at 15:22 +0100, Marek Vasut wrote: On 1/31/19 1:42 PM, tien.fong.c...@intel.com wrote: > > > From: Tien

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

2019-02-01 Thread Chee, Tien Fong
On Fri, 2019-02-01 at 09:19 +0100, Marek Vasut wrote: > On 2/1/19 9:11 AM, Chee, Tien Fong wrote: > > > > On Thu, 2019-01-31 at 15:22 +0100, Marek Vasut wrote: > > > > > > On 1/31/19 1:42 PM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > > Drop

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

2019-02-01 Thread Marek Vasut
On 2/1/19 9:11 AM, Chee, Tien Fong wrote: > On Thu, 2019-01-31 at 15:22 +0100, Marek Vasut wrote: >> On 1/31/19 1:42 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Drop the statically allocated get_contents_vfatname_block and >>> dynamically allocate a buffer only if

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

2019-02-01 Thread Chee, Tien Fong
On Thu, 2019-01-31 at 15:22 +0100, Marek Vasut wrote: > On 1/31/19 1:42 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > 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 v2 1/2] fs: fat: dynamically allocate memory for temporary buffer

2019-01-31 Thread Marek Vasut
On 1/31/19 1:42 PM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > 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 > > ---

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

2019-01-31 Thread tien . fong . chee
From: Tien Fong Chee 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 --- changes for v2 - Removed the change for debug message. - Set