commit | 8edb21925e6135fb402770a288c4f321f7a05e1b | [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 | 0613c57ce306722bb79637ffffc685c9acf35a7f [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>