diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-03-12 10:33:00 +0100 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-03-12 10:33:00 +0100 |
commit | cd7c596e9f561dbbc17b717277438aee78cde14f (patch) | |
tree | 1766af01b819e4f7c341cb841742cb6242ff0b33 /lib_ppc/bootm.c | |
parent | 3dfe110149311425919e6d6a14b561b4207498f1 (diff) | |
download | bootable_bootloader_goldelico_gta04-cd7c596e9f561dbbc17b717277438aee78cde14f.zip bootable_bootloader_goldelico_gta04-cd7c596e9f561dbbc17b717277438aee78cde14f.tar.gz bootable_bootloader_goldelico_gta04-cd7c596e9f561dbbc17b717277438aee78cde14f.tar.bz2 |
[new uImage] Add new uImage format support to arch specific do_bootm_linux() routines
This patch updates architecture specific implementations of
do_bootm_linux() adding new uImage format handling for
operations like get kernel entry point address, get kernel
image data start address.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'lib_ppc/bootm.c')
-rw-r--r-- | lib_ppc/bootm.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index 4d8ef35..86e104c 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -150,8 +150,12 @@ do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], ep = image_get_ep (images->legacy_hdr_os); #if defined(CONFIG_FIT) } else if (images->fit_uname_os) { - fit_unsupported_reset ("PPC linux bootm"); - goto error; + ret = fit_image_get_entry (images->fit_hdr_os, + images->fit_noffset_os, &ep); + if (ret) { + puts ("Can't get entry point property!\n"); + goto error; + } #endif } else { puts ("Could not find kernel entry point!\n"); |