commit | c020728d6d965f38d259576540965dcdd1bd4190 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Fri Apr 18 17:40:58 2014 +0900 |
committer | Tom Rini <trini@ti.com> | Thu Jun 19 11:18:46 2014 -0400 |
tree | b8b372e74a309b1be56cbbd8ad705c3e74cfa47d | |
parent | 57b90694a279cb166fc65e89d2d18de39a51777a [diff] |
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: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>