[U-Boot-Users] [PATCH 12/13] [new uImage] Cleanup image header pointer use in bootm code

Marian Balakowicz m8 at semihalf.com
Fri Jan 11 15:30:48 CET 2008


- use single image header pointer instead of a set of auxilliary variables.
- add multi component image helper routines: get component size/data address

Signed-off-by: Marian Balakowicz <m8 at semihalf.com>
---

 common/cmd_autoscript.c           |   10 +-
 common/cmd_bootm.c                |  162 ++++++++++++++--------------------
 common/image.c                    |   85 ++++++++++++++++++
 include/image.h                   |   25 +++++
 lib_arm/armlinux.c                |   92 ++++++++-----------
 lib_avr32/avr32_linux.c           |   70 +++++----------
 lib_blackfin/bf533_linux.c        |    4 -
 lib_i386/i386_linux.c             |   81 +++++++----------
 lib_m68k/m68k_linux.c             |   82 +++++++----------
 lib_microblaze/microblaze_linux.c |   71 ++++++---------
 lib_mips/mips_linux.c             |   68 +++++---------
 lib_nios/nios_linux.c             |    2 
 lib_nios2/nios_linux.c            |    7 -
 lib_ppc/ppc_linux.c               |  176 +++++++++++++++----------------------
 14 files changed, 440 insertions(+), 495 deletions(-)

This patch size is over 40K list limit, please refer to:
http://semihalf.com/~m8/new-image/patchset1/12-multi_helpers-single_hdr.patch




More information about the U-Boot mailing list