Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 12:22:58AM -0400, Alexander Graf wrote: > > > > Am 19.08.2016 um 14:14 schrieb Tom Rini : > > > >> On Fri, Aug 12, 2016 at 08:19:42PM +0200, Alexander Graf wrote: > >> > >> > >>> On 12.08.16 19:20, Simon Glass wrote: > >>> Hi Alex, > >>> > On

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-21 Thread Alexander Graf
> Am 19.08.2016 um 14:14 schrieb Tom Rini : > >> On Fri, Aug 12, 2016 at 08:19:42PM +0200, Alexander Graf wrote: >> >> >>> On 12.08.16 19:20, Simon Glass wrote: >>> Hi Alex, >>> On 10 August 2016 at 13:01, Alexander Graf wrote: > On 10 Aug

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-19 Thread Tom Rini
On Fri, Aug 12, 2016 at 08:19:42PM +0200, Alexander Graf wrote: > > > On 12.08.16 19:20, Simon Glass wrote: > > Hi Alex, > > > > On 10 August 2016 at 13:01, Alexander Graf wrote: > >> > >>> On 10 Aug 2016, at 18:25, Tom Rini wrote: > >>> > >>> On Wed, Aug

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-12 Thread Alexander Graf
On 12.08.16 19:20, Simon Glass wrote: > Hi Alex, > > On 10 August 2016 at 13:01, Alexander Graf wrote: >> >>> On 10 Aug 2016, at 18:25, Tom Rini wrote: >>> >>> On Wed, Aug 10, 2016 at 03:25:16PM +0200, Alexander Graf wrote: > Am 10.08.2016 um

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-12 Thread Simon Glass
Hi Alex, On 10 August 2016 at 13:01, Alexander Graf wrote: > >> On 10 Aug 2016, at 18:25, Tom Rini wrote: >> >> On Wed, Aug 10, 2016 at 03:25:16PM +0200, Alexander Graf wrote: >>> >>> Am 10.08.2016 um 15:16 schrieb Simon Glass :

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Alexander Graf
> On 10 Aug 2016, at 18:25, Tom Rini wrote: > > On Wed, Aug 10, 2016 at 03:25:16PM +0200, Alexander Graf wrote: >> >> >>> Am 10.08.2016 um 15:16 schrieb Simon Glass : >>> >>> Hi Alex, >>> On 10 August 2016 at 07:02, Alexander Graf

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Tom Rini
On Wed, Aug 10, 2016 at 03:25:16PM +0200, Alexander Graf wrote: > > > > Am 10.08.2016 um 15:16 schrieb Simon Glass : > > > > Hi Alex, > > > >> On 10 August 2016 at 07:02, Alexander Graf wrote: > >>> On 08/10/2016 02:56 PM, Simon Glass wrote: > >>> > >>> +Tom

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Simon Glass
Hi Alex, On 10 August 2016 at 07:41, Alexander Graf wrote: > >> On 10 Aug 2016, at 15:33, Simon Glass wrote: >> >> Hi Alex, >> >> On 10 August 2016 at 07:25, Alexander Graf wrote: >>> >>> Am 10.08.2016 um 15:16 schrieb Simon Glass

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Alexander Graf
> On 10 Aug 2016, at 15:33, Simon Glass wrote: > > Hi Alex, > > On 10 August 2016 at 07:25, Alexander Graf wrote: >> >> >>> Am 10.08.2016 um 15:16 schrieb Simon Glass : >>> >>> Hi Alex, >>> On 10 August 2016 at 07:02, Alexander

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Simon Glass
Hi Alex, On 10 August 2016 at 07:25, Alexander Graf wrote: > > >> Am 10.08.2016 um 15:16 schrieb Simon Glass : >> >> Hi Alex, >> >>> On 10 August 2016 at 07:02, Alexander Graf wrote: On 08/10/2016 02:56 PM, Simon Glass wrote: +Tom

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Alexander Graf
> Am 10.08.2016 um 15:16 schrieb Simon Glass : > > Hi Alex, > >> On 10 August 2016 at 07:02, Alexander Graf wrote: >>> On 08/10/2016 02:56 PM, Simon Glass wrote: >>> >>> +Tom >>> >>> Hi Alex, >>> >>> On 10 August 2016 at 01:47, Alexander Graf

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Simon Glass
Hi Alex, On 10 August 2016 at 07:02, Alexander Graf wrote: > On 08/10/2016 02:56 PM, Simon Glass wrote: >> >> +Tom >> >> Hi Alex, >> >> On 10 August 2016 at 01:47, Alexander Graf wrote: On 08 Aug 2016, at 23:44, Simon Glass wrote:

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Alexander Graf
On 08/10/2016 02:56 PM, Simon Glass wrote: +Tom Hi Alex, On 10 August 2016 at 01:47, Alexander Graf wrote: On 08 Aug 2016, at 23:44, Simon Glass wrote: Hi Alexander, On 5 August 2016 at 06:49, Alexander Graf wrote: When using CONFIG_BLK,

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Simon Glass
+Tom Hi Alex, On 10 August 2016 at 01:47, Alexander Graf wrote: > >> On 08 Aug 2016, at 23:44, Simon Glass wrote: >> >> Hi Alexander, >> >> On 5 August 2016 at 06:49, Alexander Graf wrote: >>> When using CONFIG_BLK, there were 2 issues: >>> >>>

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-10 Thread Alexander Graf
> On 08 Aug 2016, at 23:44, Simon Glass wrote: > > Hi Alexander, > > On 5 August 2016 at 06:49, Alexander Graf wrote: >> When using CONFIG_BLK, there were 2 issues: >> >> 1) The name we generate the device with has to match the >> name we set in

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-09 Thread Tom Rini
On Mon, Aug 08, 2016 at 03:44:30PM -0600, Simon Glass wrote: > Hi Alexander, > > On 5 August 2016 at 06:49, Alexander Graf wrote: > > When using CONFIG_BLK, there were 2 issues: > > > > 1) The name we generate the device with has to match the > > name we set in

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-08 Thread Simon Glass
Hi Alexander, On 5 August 2016 at 06:49, Alexander Graf wrote: > When using CONFIG_BLK, there were 2 issues: > > 1) The name we generate the device with has to match the > name we set in efi_set_bootdev() > > 2) The device we pass into our block functions was wrong, >

[U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-05 Thread Alexander Graf
When using CONFIG_BLK, there were 2 issues: 1) The name we generate the device with has to match the name we set in efi_set_bootdev() 2) The device we pass into our block functions was wrong, we should not rediscover it but just use the already known pointer. This patch fixes