Re: [U-Boot] [PATCH v2 01/13] dm: core: Add a function to bind child devices

2016-07-17 Thread Simon Glass
On 5 July 2016 at 17:10, Simon Glass wrote: > We currently use dm_scan_fdt_node() to bind devices. It is an internal > function and it requires the caller to know whether we are pre- or post- > relocation. > > This requirement has become quite common in drivers, so the current function > is not id

[U-Boot] [PATCH v2 01/13] dm: core: Add a function to bind child devices

2016-07-05 Thread Simon Glass
We currently use dm_scan_fdt_node() to bind devices. It is an internal function and it requires the caller to know whether we are pre- or post- relocation. This requirement has become quite common in drivers, so the current function is not ideal. Add a new function with fewer arguments, that does