Re: [PATCH 1/1] block: fix blk_get_devnum_by_typename()

2022-08-07 Thread Simon Glass
Hi Heinrich, On Thu, 4 Aug 2022 at 00:06, Heinrich Schuchardt wrote: > > > > On 8/3/22 20:14, Simon Glass wrote: > > Hi Heinrich, > > > > On Tue, 2 Aug 2022 at 10:22, Heinrich Schuchardt > > wrote: > >> > >> > >> > >> On 8/2/22 14:41, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On Tue, 2

Re: [PATCH 1/1] block: fix blk_get_devnum_by_typename()

2022-08-04 Thread Heinrich Schuchardt
On 8/3/22 20:14, Simon Glass wrote: Hi Heinrich, On Tue, 2 Aug 2022 at 10:22, Heinrich Schuchardt wrote: On 8/2/22 14:41, Simon Glass wrote: Hi Heinrich, On Tue, 2 Aug 2022 at 03:50, Heinrich Schuchardt wrote: Both the 'host' and the 'efiloader' block devices use the same parent

Re: [PATCH 1/1] block: fix blk_get_devnum_by_typename()

2022-08-03 Thread Simon Glass
Hi Heinrich, On Tue, 2 Aug 2022 at 10:22, Heinrich Schuchardt wrote: > > > > On 8/2/22 14:41, Simon Glass wrote: > > Hi Heinrich, > > > > On Tue, 2 Aug 2022 at 03:50, Heinrich Schuchardt > > wrote: > >> > >> Both the 'host' and the 'efiloader' block devices use the same parent > >> uclass root.

Re: [PATCH 1/1] block: fix blk_get_devnum_by_typename()

2022-08-02 Thread Heinrich Schuchardt
On 8/2/22 14:41, Simon Glass wrote: Hi Heinrich, On Tue, 2 Aug 2022 at 03:50, Heinrich Schuchardt wrote: Both the 'host' and the 'efiloader' block devices use the same parent uclass root. Thus the parent uclass is not an indicator the interface type. Currently the following fails:

Re: [PATCH 1/1] block: fix blk_get_devnum_by_typename()

2022-08-02 Thread Simon Glass
Hi Heinrich, On Tue, 2 Aug 2022 at 03:50, Heinrich Schuchardt wrote: > > Both the 'host' and the 'efiloader' block devices use the same parent > uclass root. Thus the parent uclass is not an indicator the interface type. > > Currently the following fails: > > setenv efi_selftest block device

[PATCH 1/1] block: fix blk_get_devnum_by_typename()

2022-08-02 Thread Heinrich Schuchardt
Both the 'host' and the 'efiloader' block devices use the same parent uclass root. Thus the parent uclass is not an indicator the interface type. Currently the following fails: setenv efi_selftest block device bootefi selftest part list efiloader 0 Struct blk_desc contains the