[new uImage] POWERPC: Add image_get_fdt() routine
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)
commitff0734cff0fb5397ce2f4602f4f3e5ec9c8a36e8
treea44387695b57ed1084af50e70d3be8347666c9d9
parent1efd43601f90de21ec6c0ebb9880823e822927b1
[new uImage] POWERPC: Add image_get_fdt() routine

FDT blob may be passed either: (1) raw (2) or embedded in the legacy uImage
(3) or embedded in the new uImage. For the (2) case embedding image must be
verified before we get FDT from it. This patch factors out legacy image
specific verification routine to the separate helper routine.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
lib_ppc/bootm.c