Re: [U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-02-05 Thread AKASHI Takahiro
On Wed, Feb 06, 2019 at 12:15:11PM +0900, AKASHI Takahiro wrote: > On Sat, Feb 02, 2019 at 07:15:53AM -0700, Simon Glass wrote: > > Hi, > > > > On Thu, 31 Jan 2019 at 22:53, AKASHI Takahiro > > wrote: > > > > > > Hi Simon, > > > > > > Thank you for suggestive comments. > > > I've got no idea of

Re: [U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-02-05 Thread AKASHI Takahiro
On Sat, Feb 02, 2019 at 07:15:53AM -0700, Simon Glass wrote: > Hi, > > On Thu, 31 Jan 2019 at 22:53, AKASHI Takahiro > wrote: > > > > Hi Simon, > > > > Thank you for suggestive comments. > > I've got no idea of making DM class for EFI protocol. > > > > On Wed, Jan 30, 2019 at 06:22:47PM -0700,

Re: [U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-02-02 Thread Simon Glass
Hi, On Thu, 31 Jan 2019 at 22:53, AKASHI Takahiro wrote: > > Hi Simon, > > Thank you for suggestive comments. > I've got no idea of making DM class for EFI protocol. > > On Wed, Jan 30, 2019 at 06:22:47PM -0700, Simon Glass wrote: > > Hi AKASHI, > > > > On Mon, 28 Jan 2019 at 19:59, AKASHI

Re: [U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-01-31 Thread AKASHI Takahiro
Hi Simon, Thank you for suggestive comments. I've got no idea of making DM class for EFI protocol. On Wed, Jan 30, 2019 at 06:22:47PM -0700, Simon Glass wrote: > Hi AKASHI, > > On Mon, 28 Jan 2019 at 19:59, AKASHI Takahiro > wrote: > > > > efi_disk_create() will initialize efi_disk attributes

Re: [U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-01-30 Thread Simon Glass
Hi AKASHI, On Mon, 28 Jan 2019 at 19:59, AKASHI Takahiro wrote: > > efi_disk_create() will initialize efi_disk attributes for each device, > either UCLASS_BLK or UCLASS_PARTITION. > > Currently (temporarily), efi_disk_obj structure is embedded into > blk_desc to hold efi-specific attributes. > >

Re: [U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-01-29 Thread AKASHI Takahiro
On Wed, Jan 30, 2019 at 07:49:37AM +0100, Heinrich Schuchardt wrote: > On 1/30/19 6:48 AM, AKASHI Takahiro wrote: > > On Tue, Jan 29, 2019 at 11:33:31PM +0100, Heinrich Schuchardt wrote: > >> On 1/29/19 3:59 AM, AKASHI Takahiro wrote: > >>> efi_disk_create() will initialize efi_disk attributes for

Re: [U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-01-29 Thread Heinrich Schuchardt
On 1/30/19 6:48 AM, AKASHI Takahiro wrote: > On Tue, Jan 29, 2019 at 11:33:31PM +0100, Heinrich Schuchardt wrote: >> On 1/29/19 3:59 AM, AKASHI Takahiro wrote: >>> efi_disk_create() will initialize efi_disk attributes for each device, >>> either UCLASS_BLK or UCLASS_PARTITION. >>> >>> Currently

Re: [U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-01-29 Thread AKASHI Takahiro
On Tue, Jan 29, 2019 at 11:33:31PM +0100, Heinrich Schuchardt wrote: > On 1/29/19 3:59 AM, AKASHI Takahiro wrote: > > efi_disk_create() will initialize efi_disk attributes for each device, > > either UCLASS_BLK or UCLASS_PARTITION. > > > > Currently (temporarily), efi_disk_obj structure is

Re: [U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-01-29 Thread Heinrich Schuchardt
On 1/29/19 3:59 AM, AKASHI Takahiro wrote: > efi_disk_create() will initialize efi_disk attributes for each device, > either UCLASS_BLK or UCLASS_PARTITION. > > Currently (temporarily), efi_disk_obj structure is embedded into > blk_desc to hold efi-specific attributes. > > Signed-off-by: AKASHI

[U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-01-28 Thread AKASHI Takahiro
efi_disk_create() will initialize efi_disk attributes for each device, either UCLASS_BLK or UCLASS_PARTITION. Currently (temporarily), efi_disk_obj structure is embedded into blk_desc to hold efi-specific attributes. Signed-off-by: AKASHI Takahiro --- drivers/block/blk-uclass.c | 9 ++