[PATCH v3 27/28] dm: core: Drop seq and req_seq

Simon Glass sjg at chromium.org
Sat Dec 19 17:40:06 CET 2020


Now that migration to the new sequence numbers is complete, drop the old
fields. Add a test that covers the new behaviour.

Also drop the check for OF_PRIOR_STAGE since we always assign sequence
numbers now.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v2)

Changes in v2:
- Adjust the tests to handle the new allocation scheme
- Simplify the logic so auto_seq is positive

 drivers/core/device-remove.c |  1 -
 drivers/core/device.c        | 17 ++--------------
 include/dm/device.h          |  9 +--------
 test/dm/test-fdt.c           | 39 ++++++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+), 24 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list