diff options
author | Simon Glass <sjg@chromium.org> | 2015-02-27 22:06:35 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-23 09:05:53 -0600 |
commit | 0879361fd3bc33eb52bcfb2574a78f1e52a36429 (patch) | |
tree | 4b23d3c50eaee147f346fe59b34de9e313680603 /lib | |
parent | b45122fdf5d314ef1f492b051fb104a7b48b8079 (diff) | |
download | u-boot-imx-0879361fd3bc33eb52bcfb2574a78f1e52a36429.zip u-boot-imx-0879361fd3bc33eb52bcfb2574a78f1e52a36429.tar.gz u-boot-imx-0879361fd3bc33eb52bcfb2574a78f1e52a36429.tar.bz2 |
fdt: Rename setup_fdt() and make it prepare also
There is little reason to split these two functions. Bring them together
which simplifies the init sequence.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fdtdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index d9dbc86..80b897a 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1039,7 +1039,7 @@ int fdtdec_decode_memory_region(const void *blob, int config_node, return 0; } -int setup_fdt(void) +int fdtdec_setup(void) { #ifdef CONFIG_OF_CONTROL # ifdef CONFIG_OF_EMBED @@ -1065,7 +1065,7 @@ int setup_fdt(void) (uintptr_t)gd->fdt_blob); # endif #endif - return 0; + return fdtdec_prepare_fdt(); } #endif /* !USE_HOSTCC */ |