[U-Boot] [PATCH v2 10/22] dm: core: Add a uclass pre_probe() method for devices

Simon Glass sjg at chromium.org
Sat Mar 21 00:15:57 CET 2015


On 5 March 2015 at 12:25, Simon Glass <sjg at chromium.org> wrote:
> Some uclasses want to set up a device before it is probed. Add a method
> for this.
>
> An example is with PCI, where a PCI uclass wants to set up its private
> data for later use. This allows the device's uclass() method to make calls
> whcih use that data (for example, read PCI memory regions from device
> tree, set up bus numbers).
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None

Applied to u-boot-dm/next.


More information about the U-Boot mailing list