[U-Boot-Users] [PATCH 02/13] [new uImage] Define a API for image handling operations

Marian Balakowicz m8 at semihalf.com
Fri Jan 11 15:28:25 CET 2008


- Add inline helper macros for basic header processing
- Move common non inline code common/image.c
- Replace direct header access with the API routines
- Rename IH_CPU_* to IH_ARCH_*

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

 Makefile                          |    3 
 board/cray/L1/L1.c                |    4 
 board/esd/common/auto_update.c    |   73 ++++----
 board/mcc200/auto_update.c        |   71 ++++----
 board/mpl/common/common_util.c    |   37 ++--
 board/siemens/common/fpga.c       |   32 +---
 board/trab/auto_update.c          |   82 ++++-----
 common/Makefile                   |    1 
 common/cmd_autoscript.c           |   30 +--
 common/cmd_bootm.c                |  331 +++++++++++++------------------------
 common/cmd_doc.c                  |    4 
 common/cmd_fdc.c                  |    6 -
 common/cmd_fpga.c                 |    8 -
 common/cmd_ide.c                  |   12 -
 common/cmd_nand.c                 |   12 +
 common/cmd_scsi.c                 |   12 -
 common/cmd_usb.c                  |   12 -
 common/cmd_ximg.c                 |   36 +---
 common/image.c                    |   91 ++++++++++
 common/lynxkdi.c                  |    8 -
 include/image.h                   |  174 +++++++++++++++++--
 lib_arm/armlinux.c                |   45 ++---
 lib_avr32/avr32_linux.c           |   47 ++---
 lib_blackfin/bf533_linux.c        |    3 
 lib_i386/i386_linux.c             |   44 ++---
 lib_i386/zimage.c                 |   33 ++--
 lib_m68k/m68k_linux.c             |   62 ++-----
 lib_microblaze/microblaze_linux.c |   39 ++--
 lib_mips/mips_linux.c             |   41 ++---
 lib_nios2/nios_linux.c            |    2 
 tools/Makefile                    |   11 +
 tools/mkimage.c                   |  180 ++++++++------------
 tools/mkimage.h                   |   59 +++++++
 33 files changed, 809 insertions(+), 796 deletions(-)
 create mode 100644 common/image.c
 create mode 100644 tools/mkimage.h

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




More information about the U-Boot mailing list