[PATCH v3 12/28] dm: core: Allow manual sequence numbering
Simon Glass
sjg at chromium.org
Sat Dec 19 17:40:26 CET 2020
Some buses have their own rules which require assigning sequence numbers
with a bus-specific algorithm. For example, PCI requires that sub-buses
are numbered higher than their parent buses, meaning effectively that
parent buses must be numbered only after all of their child buses have
been numbered.
Add a uclass flag to indicate that driver model should not assign sequence
numbers. In this case, the uclass must do it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v2)
Changes in v2:
- Add new patch to allow manual sequence numbering
drivers/core/device.c | 2 +-
include/dm/uclass.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list