Re: [U-Boot] [PATCH 1/6] dm: core: Add a way to set a device name

2015-08-09 Thread Simon Glass
On 31 July 2015 at 03:08, Bin Meng wrote: > On Fri, Jul 31, 2015 at 3:40 AM, Simon Glass wrote: >> Some devices are bound entirely by probing and do not have the benefit of >> a device tree to give them a name. This is very common with PCI and USB. In >> most cases this is fine, but we should add

Re: [U-Boot] [PATCH 1/6] dm: core: Add a way to set a device name

2015-07-31 Thread Bin Meng
On Fri, Jul 31, 2015 at 3:40 AM, Simon Glass wrote: > Some devices are bound entirely by probing and do not have the benefit of > a device tree to give them a name. This is very common with PCI and USB. In > most cases this is fine, but we should add an official way to set a device > name. This sh

[U-Boot] [PATCH 1/6] dm: core: Add a way to set a device name

2015-07-30 Thread Simon Glass
Some devices are bound entirely by probing and do not have the benefit of a device tree to give them a name. This is very common with PCI and USB. In most cases this is fine, but we should add an official way to set a device name. This should be called in the device's bind() method. Signed-off-by: