[PATCH 09/11] dm: core: Combine the flattree and livetree binding code

Simon Glass sjg at chromium.org
Thu Dec 10 01:26:35 CET 2020


At present there are two copies of this code. With ofnode we can combine
them to reduce duplication. Update the dm_scan_fdt_node() function and
adjust its callers.

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

 drivers/core/root.c | 74 ++++++++++-----------------------------------
 1 file changed, 16 insertions(+), 58 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list