]> git.sur5r.net Git - u-boot/commit
[new uImage] Share common uImage code between mkimage and U-boot
authorMarian Balakowicz <m8@semihalf.com>
Fri, 29 Feb 2008 14:59:59 +0000 (15:59 +0100)
committerMarian Balakowicz <m8@semihalf.com>
Fri, 29 Feb 2008 14:59:59 +0000 (15:59 +0100)
commit570abb0ad120f6002bcaa3cf6f32bd4ca2e1b248
tree7948979e2750b78181aad30fd699cacb24b3043c
parent9a4daad0a35eb5143037eea9f786a3e9d672bdd6
[new uImage] Share common uImage code between mkimage and U-boot

This patch adds the following common routines:

1) Dedicated mkimage print_header() is replaced with common
image_print_contents()
image_print_contents_noindent()

2) Common os/arch/type/comp fields name <--> id translation routines
genimg_get_os_name()
genimg_get_arch_name()
genimg_get_type_name()
genimg_get_comp_name()
genimg_get_os_id()
genimg_get_arch_id()
genimg_get_type_id()
genimg_get_comp_id()

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