[PATCH 08/11] dm: core: Add an ofnode function to get the devicetree root

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


This is needed in at least one place. Avoid the conditional code in root.c
by adding this inline function.

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

 drivers/core/root.c |  8 ++------
 include/dm/ofnode.h | 12 ++++++++++++
 2 files changed, 14 insertions(+), 6 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list