[U-Boot] [PATCH V4 1/3] FAT: remove cur_part_nr

Tom Rini trini at ti.com
Fri Oct 26 05:29:36 CEST 2012


On Wed, Oct 17, 2012 at 10:44:57AM -0600, Stephen Warren wrote:

> From: Stephen Warren <swarren at nvidia.com>
> 
> A future patch will implement the more standard filesystem API
> fat_set_blk_dev(). This API has no way to know which partition number
> the partition represents. Equally, future DM rework will make the
> concept of partition number harder to pass around.
> 
> So, simply remove cur_part_nr from fat.c; its only use is in a
> diagnostic printf, and the context where it's printed should make it
> obvious which partition is referred to anyway (since the partition ID
> would come from the user command-line that caused it).
> 
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
> v4: New patch: Dropped addition of part number of disk_partition_t, and
> replaced it with this patch.

For the series, applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121025/a4060009/attachment.pgp>


More information about the U-Boot mailing list