1. 22 Apr, 2015 1 commit
  2. 14 Jan, 2015 1 commit
  3. 03 Sep, 2013 1 commit
  4. 24 Jul, 2013 1 commit
  5. 30 Apr, 2012 1 commit
  6. 12 Apr, 2011 1 commit
  7. 12 Oct, 2010 1 commit
    • Stefan Roese's avatar
      zlib/gunzip: Use WATCHDOG_RESET macro · f8526286
      Stefan Roese authored
      As usually done in U-Boot, the watchdog_reset code is called via a
      macro (WATCHDOG_RESET). In zlib.c this was done differently, by using
      a function pointer which is initialized with WATCHDOG_RESET upon watchdog
      usage or with NULL otherwise. This patch now uses the plain
      WATCHDOG_RESET macros to call the function resulting in slightly smaller
      U-Boot images and simpler code.
      
      U-Boot code size reduction:
      
      PowerPC board with watchdog support (lwmon5):
      -> 80 bytes smaller image size
      
      PowerPC board without watchdog support (sequoia):
      -> 112 bytes smaller image size
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Detlev Zundel <dzu@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
      f8526286
  8. 13 Apr, 2010 1 commit
  9. 21 Dec, 2009 1 commit
  10. 30 Apr, 2009 1 commit
    • Ricardo Ribalda Delgado's avatar
      lib_generic: gunzip: New function zunzip · 35f6a943
      Ricardo Ribalda Delgado authored
      Separate gunzip in
      
      gunzip: Find the end of the header and call zunzip.
      zunzip: Inflate gunzip block without header.
      
      UBI fs blocks can be compresed in lzo, zlib or no-compression. The
      current implementation of u-boot supported all the compressions but
      there was a bug in the implementation of the zlib blocks.
      
      UBIFS's Zlib blocks do not have header but they were compressed using
      gunzip, a function used to decompress gunzip files/sectors with a
      header.
      
      This patch adds a new function zunzip that uncompress a zlib block with
      no header.
      Signed-off-by: default avatarRicardo Ribalda Delgado <ricardo.ribalda@uam.es>
      35f6a943
  11. 04 Apr, 2009 1 commit
  12. 27 Jan, 2009 1 commit
    • Matthias Fuchs's avatar
      Fix gunzip in case of insufficient output buffer · 107b801c
      Matthias Fuchs authored
      U-Boot's gunzip() function does not handle the return code
      of zlib's inflate() function correctly. gunzip() is implemented
      to uncompress all input data in one run. So the correct return
      code for the good case is Z_STREAM_END. In case of insufficient
      output buffer memory inflate returns Z_OK. For gunzip() this
      is an error.
      
      It also makes sense to me to call inflateEnd() also in case
      of an error.
      Signed-off-by: default avatarMatthias Fuchs <matthias.fuchs@esd-electronics.com>
      107b801c
  13. 29 Aug, 2008 1 commit
  14. 07 Feb, 2008 1 commit