From: Tom Rini Date: Thu, 6 Dec 2018 10:13:15 -0500 Subject: [U-Boot] [PATCH v1] fs: fat: dynamically allocate memory for temporary buffer In-Reply-To: <20181206135853.9891-1-stefan@agner.ch> References: <20181206135853.9891-1-stefan@agner.ch> Message-ID: <20181206151315.GV32109@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Dec 06, 2018 at 02:58:52PM +0100, Stefan Agner 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 Is there a particular issue you're running into here, or just that what we're doing is just generally not a great idea? I ask since I need to poke git history to make sure that the thing at the back of my mind about us needing to do this for some annoying boot case is intentional. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: