From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Tue, 20 Dec 2011 13:20:45 -0500 Subject: [U-Boot] [PATCH 1/3] fs/fat: Fix FAT detection to support non-DOS partition tables In-Reply-To: <1324402874-15400-2-git-send-email-Kyle.D.Moffett@boeing.com> References: <1324402874-15400-1-git-send-email-Kyle.D.Moffett@boeing.com> <1324402874-15400-2-git-send-email-Kyle.D.Moffett@boeing.com> Message-ID: <201112201320.46099.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 20 December 2011 12:41:12 Kyle Moffett wrote: > --- a/fs/fat/fat.c > +++ b/fs/fat/fat.c > > +static disk_partition_t cur_part_info = { > + .start = 0, > + .size = 0, > + .blksz = 512, > + .name = "", > + .type = "", > +}; there any way we could delay that initialization of blksz to runtime ? if that wasn't there, cur_part_info would be in .bss instead of .data. -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: