Skip to content
Snippets Groups Projects
  1. Jan 17, 2010
    • Dirk Behme's avatar
      Make getenv_IPaddr() global · 6a45e384
      Dirk Behme authored
      
      There are boards out there that do not have network support in
      U-Boot (CONFIG_CMD_NET not set), but they do so in Linux. This
      makes it desirable to be able to port network configuration (like
      the IP address) to the Linux kernel.
      
      We should not make the passing of the IP configuration to Linux
      dependent on U-Boot features / settings.
      
      For this, make getenv_IPaddr() global. This fixes build error
      
      u-boot/lib_xxx/board.c:360: undefined reference to `getenv_IPaddr'
      
      on various architectures.
      
      Signed-off-by: default avatarDirk Behme <dirk.behme@googlemail.com>
      Acked-by: default avatarBen Warren <biggerbadderben@gmail.com>
      6a45e384
  2. Jan 15, 2010
    • Wolfgang Denk's avatar
      malloc: return NULL if not initialized yet · 27405448
      Wolfgang Denk authored
      
      When malloc() was called before it was properly initialized
      (as would happen if when used before relocation to RAM) it returned
      random, non-NULL values, which called all kinds of difficult to debug
      subsequent errors.
      
      Make sure to return NULL when initialization was not done yet.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      27405448
    • Wolfgang Denk's avatar
      JFFS2: drop support for LZARI compression mode · f0983371
      Wolfgang Denk authored
      
      Support for LZARI compression mode was added based on a MTD CVS
      snapshot of March 13, 2005. However, fs/jffs2/compr_lzari.c contains
      contradictory licensing terms: the original copyright clause says "All
      rights reserved. Permission granted for non-commercial use.", but
      later reference to the file 'LICENCE' in the jffs2 directory was added
      which says GPL v2 or later.
      
      As no boards ever used LZARI compression, and this file is also not
      present in recent MTD code, we resolve this conflict by removing the
      conflicting file and references to it.
      
      Also copy the referenced but missing file 'LICENCE' from the current
      MTD source tree.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      f0983371
  3. Jan 12, 2010
  4. Jan 09, 2010
  5. Jan 08, 2010
  6. Jan 06, 2010
  7. Jan 05, 2010
Loading