Re: [U-Boot] [PATCH V3 2/4] FAT: make use of disk_partition_t.part

2012-10-17 Thread Tom Rini
On Mon, Oct 15, 2012 at 08:07:44PM +0200, Pavel Herrmann wrote: > On Monday 15 of October 2012 10:40:25 Stephen Warren wrote: > > On 10/13/2012 01:38 PM, Pavel Herrmann wrote: > > > Hi > > > > > > On Wednesday 10 October 2012 12:14:00 Stephen Warren wrote: > > >> From: Stephen Warren > > >> > >

Re: [U-Boot] [PATCH V3 2/4] FAT: make use of disk_partition_t.part

2012-10-15 Thread Pavel Herrmann
On Monday 15 of October 2012 10:40:25 Stephen Warren wrote: > On 10/13/2012 01:38 PM, Pavel Herrmann wrote: > > Hi > > > > On Wednesday 10 October 2012 12:14:00 Stephen Warren wrote: > >> From: Stephen Warren > >> > >> This removes the standalone cur_part_nr variable, opening the way to > >> rep

Re: [U-Boot] [PATCH V3 2/4] FAT: make use of disk_partition_t.part

2012-10-15 Thread Stephen Warren
On 10/13/2012 01:38 PM, Pavel Herrmann wrote: > Hi > > On Wednesday 10 October 2012 12:14:00 Stephen Warren wrote: >> From: Stephen Warren >> >> This removes the standalone cur_part_nr variable, opening the way to >> replacing fat_register_device() with fat_set_blk_dev(). >> >> Note that when get

Re: [U-Boot] [PATCH V3 2/4] FAT: make use of disk_partition_t.part

2012-10-13 Thread Pavel Herrmann
Hi On Wednesday 10 October 2012 12:14:00 Stephen Warren wrote: > From: Stephen Warren > > This removes the standalone cur_part_nr variable, opening the way to > replacing fat_register_device() with fat_set_blk_dev(). > > Note that when get_partition_info() fails and we use the entire disk, > th

[U-Boot] [PATCH V3 2/4] FAT: make use of disk_partition_t.part

2012-10-10 Thread Stephen Warren
From: Stephen Warren This removes the standalone cur_part_nr variable, opening the way to replacing fat_register_device() with fat_set_blk_dev(). Note that when get_partition_info() fails and we use the entire disk, the correct partition number is 0 (whole disk) not 1 (first partition), so that