From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Tue, 15 Feb 2011 03:44:31 -0500 Subject: [U-Boot] BSS footprint of FAT very high - SPL issues In-Reply-To: <4D4798E2.3050500@ti.com> References: <4D4798E2.3050500@ti.com> Message-ID: <201102150344.32741.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday, February 01, 2011 00:23:46 Aneesh V wrote: > BSS footprint of fat.c is very high. It has three buffers each of size > 64KB. To workaround this problem I have done something like below(The > way x-loader works around this problem today). > CONFIG_SYS_SPL_FAT_BUFFER_BASE is in SDRAM.Is this ok? > > Also, I was wondering why we need 3 such scratch buffers in this > implementation. I do not understand this code. But I was wondering if we > could work with just one 64K buffer? i'd be pretty surprised if these couldnt be cleaned up in some way. sucking up 64KiB * 3 just for vfat is pretty f-in crazy. no other FS code needs this. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110215/47b48daf/attachment.pgp