| /rk3399_rockchip-uboot/test/dm/ |
| H A D | test-uclass.c | 02c07b3741f1b825934b1a6eb8f23530532dc426 Thu Mar 05 19:25:22 UTC 2015 Simon Glass <sjg@chromium.org> dm: core: Add a uclass pre_probe() method for devices
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@chromium.org>
|
| H A D | core.c | 02c07b3741f1b825934b1a6eb8f23530532dc426 Thu Mar 05 19:25:22 UTC 2015 Simon Glass <sjg@chromium.org> dm: core: Add a uclass pre_probe() method for devices
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@chromium.org>
|
| /rk3399_rockchip-uboot/include/dm/ |
| H A D | test.h | 02c07b3741f1b825934b1a6eb8f23530532dc426 Thu Mar 05 19:25:22 UTC 2015 Simon Glass <sjg@chromium.org> dm: core: Add a uclass pre_probe() method for devices
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@chromium.org>
|
| H A D | uclass-internal.h | 02c07b3741f1b825934b1a6eb8f23530532dc426 Thu Mar 05 19:25:22 UTC 2015 Simon Glass <sjg@chromium.org> dm: core: Add a uclass pre_probe() method for devices
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@chromium.org>
|
| H A D | uclass.h | 02c07b3741f1b825934b1a6eb8f23530532dc426 Thu Mar 05 19:25:22 UTC 2015 Simon Glass <sjg@chromium.org> dm: core: Add a uclass pre_probe() method for devices
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@chromium.org>
|
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | root.c | 31e1029a8ee13ab4b4a73e72ec7a730eb9c661b9 Tue Oct 27 12:48:08 UTC 2015 Michal Simek <michal.simek@xilinx.com> dm: core: Add missing entries for manual relocation
Patches: "dm: core: Add a post_bind method for parents" (sha1: 0118ce79577f9b0881f99a6e4f8a79cd5014cb87) "dm: core: Add a uclass pre_probe() method for devices" (sha1: 02c07b3741f1b825934b1a6eb8f23530532dc426) "dm: core: Allow the uclass to set up a device's child after binding" (sha1: 081f2fcbd9a95ba10677065359791f8fea3f8c58) "dm: core: Allow uclass to set up a device's child before it is probed" (sha1: 83c7e434c9dd3ca81f8b763e23c1881b973bcf2f)
Adds new entries to struct driver and struct uclass_driver without extending code for manual relocation. This patch fixes it for all architectures which requires MANUAL_RELOC.
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Simon Glass <sjg@chromium.org>
|
| H A D | uclass.c | 02c07b3741f1b825934b1a6eb8f23530532dc426 Thu Mar 05 19:25:22 UTC 2015 Simon Glass <sjg@chromium.org> dm: core: Add a uclass pre_probe() method for devices
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@chromium.org>
|
| H A D | device.c | 02c07b3741f1b825934b1a6eb8f23530532dc426 Thu Mar 05 19:25:22 UTC 2015 Simon Glass <sjg@chromium.org> dm: core: Add a uclass pre_probe() method for devices
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@chromium.org>
|