[PATCH 07/10] fdtgrep: Move property checking into a function

Simon Glass sjg at chromium.org
Mon Jan 1 17:49:21 CET 2024


The h_include() function includes a piece which checks if a node
contains a property being searched for. Move this into its own
function to reduce the size of the h_include() function.

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

 tools/fdtgrep.c | 48 +++++++++++++++++++++++++++++++++++-------------
 1 file changed, 35 insertions(+), 13 deletions(-)

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


More information about the U-Boot mailing list