image: Add device tree setup to image library
authorSimon Glass <sjg@chromium.org>
Wed, 8 May 2013 08:06:01 +0000 (08:06 +0000)
committerTom Rini <trini@ti.com>
Tue, 14 May 2013 19:37:25 +0000 (15:37 -0400)
commit13d06981a9829c9edcfd6f9f582d216fbaed95e5
tree1e5df63856d117bc14acb5f669ac0dc405e91f06
parent44d3a3066bc789b9a640e71322e593a9983023bb
image: Add device tree setup to image library

This seems to be a common function for several architectures, so create
a common function rather than duplicating the code in each arch.

Also make an attempt to avoid introducing #ifdefs in the new code, partly
by removing useless #ifdefs around function declarations in the image.h
header.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/image-fdt.c
common/image.c
include/common.h
include/fdt_support.h
include/image.h
include/lmb.h