]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: Provide better debugging when a device fails to bind
authorSimon Glass <sjg@chromium.org>
Sun, 30 Aug 2015 22:55:17 +0000 (16:55 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 3 Sep 2015 03:28:23 +0000 (21:28 -0600)
commitbc7b2f431d5e5b48c009007bdf22d2f2d8aed4c4
tree43a9dc43fdf33fa05d96e72867c43f01c3c7c5ee
parent3346c87625b8a736af5636a0bd1be89f781eb5f2
dm: Provide better debugging when a device fails to bind

All devices should bind without error. But when they don't, they can cause
driver model init to fail. A real situation where this can happen is when
there is a missing uclass.

Add a debug() call to dm_scan_fdt_node to make this easier to track.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/root.c