Skip to content
Commit 8edb2192 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

fdt_support: refactor with fdt_find_or_add_subnode helper func



Some functions in fdt_support.c do the same routine:
search a node with a given name ("chosen", "memory", etc.)
or newly create it if it does not exist.

So this commit makes that routine to a helper function.

Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 0613c57c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment