[PATCH v3 0/3] Adjust how autoprobe is implemented
Simon Glass
sjg at chromium.org
Wed Nov 20 16:36:38 CET 2024
This little series makes a minor change to how autoprobe is
implemeneted, as discussed on the list:
https://patchwork.ozlabs.org/project/uboot/patch/
20240626235717.272219-1-marex at denx.de/
Changes in v3:
- Add a link to the previous discussion
- Add a summary of the design challenge in the DM docs
- Use a simple return in initr_dm()
- Add a comment to dm_probe_devices()
- Expand comment to dm_autoprobe()
Changes in v2:
- Add autoprobe to SPL also
- Leave the function name the same
- Fix 'Prove' typo
- Update cover letter since SPL is now covered also
- Update the documentation too, with a discussion link
Simon Glass (3):
common: Drop check for DM in initf_dm()
dm: core: Simplify dm_probe_devices()
common: Move autoprobe out to board init
common/board_f.c | 9 ++++++--
common/board_r.c | 2 +-
common/spl/spl.c | 4 ++++
doc/develop/driver-model/design.rst | 17 ++++++++++++++
drivers/core/root.c | 36 ++++++++++++++++++++---------
include/dm/root.h | 15 ++++++++++++
6 files changed, 69 insertions(+), 14 deletions(-)
--
2.34.1
More information about the U-Boot
mailing list