]> git.baikalelectronics.ru Git - uboot.git/commit
dm: device: Request next sequence number
authorThomas Fitzsimmons <fitzsim@fitzsim.org>
Fri, 6 Sep 2019 11:51:18 +0000 (07:51 -0400)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:02 +0000 (08:40 -0600)
commitcc4a47fa5eff4bc03bc4fca848f70e7f8c54eb32
tree2e1ba8a5e3f2790fd11de9ce22d707777627c6a2
parent3abeb8695860035e07681c01b34041b249c23c57
dm: device: Request next sequence number

For CONFIG_OF_PRIOR_STAGE, in the absence of a device tree alias for a
given device, use the next request number for that type of device.
This allows aliases to be used when they're available, while still
allowing unaliased devices to be probed.

Signed-off-by: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
drivers/core/device.c
drivers/core/uclass.c