[new uImage] Correct raw FDT blob handlig when CONFIG_FIT is disabled
authorMarian Balakowicz <m8@semihalf.com>
Wed, 27 Feb 2008 10:02:26 +0000 (11:02 +0100)
committerMarian Balakowicz <m8@semihalf.com>
Wed, 27 Feb 2008 10:02:26 +0000 (11:02 +0100)
commit4efbe9dbb129f857f27856936112c8c02f016be6
tree436ba586908e214d9457c5093369629f7b8cb5f9
parentff0734cff0fb5397ce2f4602f4f3e5ec9c8a36e8
[new uImage] Correct raw FDT blob handlig when CONFIG_FIT is disabled

Dual format image code must properly handle all three FDT passing methods:
- raw FDT blob passed
- FDT blob embedded in the legacy uImage
- FDT blob embedded in the new uImage

This patch enables proper raw FDT handling when no FIT imaeg support
is compiled in. This is a bit tricky as we must dected FIT format even
when FIT uImage handling is not enabled as both FIT uImages and raw FDT
blobs use tha same low level format (libfdt).

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
common/image.c
include/image.h
lib_ppc/bootm.c