Skip to content
Snippets Groups Projects
  1. Mar 27, 2012
    • Dirk Behme's avatar
      imximage: Remove overwriting of flash_offset · 49d3e272
      Dirk Behme authored
      
      The flash header supports different flash offsets for different
      boot devices. E.g. parallel NOR or OneNAND use a different offset
      than FLASH_OFFSET_STANDARD (== 0x400).
      
      The flash offset is correctly read from the configuration in
      parse_cfg_cmd(). But is then overwritten wrongly in set_imx_hdr_v1/2().
      
      Fix this by removing this overwriting. Use the flash offset
      correctly read from the configuration, instead.
      
      If there is no flash_offset read from the configuration file, i.e.
      the BOOT_FROM tag is missing, exit with an error message.
      
      Signed-off-by: default avatarDirk Behme <dirk.behme@de.bosch.com>
      CC: Jason Liu <liu.h.jason@gmail.com>
      CC: Stefano Babic <sbabic@denx.de>
      Tested-by: default avatarStefano Babic <sbabic@denx.de>
      49d3e272
  2. Feb 12, 2012
  3. Apr 12, 2011
    • Loïc Minier's avatar
      Drop config.h include in tools/imximage.h · 13d72f02
      Loïc Minier authored
      
      "make tools-all" should allow building tools such as mkimage and the new
      imximage without any config, but imximage.c currently fails to build
      with:
      imximage.h:27:20: error: config.h: No such file or directory
      
      config.h is not needed in imximage.h nor in imximage.c, and imximage.h
      is only included from imximage.c, so drop this include to fix the build.
      
      Signed-off-by: default avatarLoc Minier <loic.minier@linaro.org>
      13d72f02
  4. Feb 01, 2011
  5. Feb 23, 2010
  6. Jan 25, 2010
Loading