Skip to content
Snippets Groups Projects
  1. Jan 28, 2009
  2. Jan 27, 2009
  3. Jan 26, 2009
  4. Jan 24, 2009
    • Wolfgang Denk's avatar
    • Wolfgang Denk's avatar
    • Mike Frysinger's avatar
      easylogo: add optional gzip support · 24113a44
      Mike Frysinger authored
      
      Some images can be quite large, so add an option to compress the
      image data with gzip in the U-Boot image. Then at runtime, the
      board can decompress it with the normal zlib functions.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      24113a44
    • Bryan Wu's avatar
      fat: fix unaligned errors · 7e4b9b4f
      Bryan Wu authored
      
      A couple of buffers in the fat code are declared as an array of bytes.
      But it is then cast up to a structure with 16bit and 32bit members.
      Since GCC assumes structure alignment here, we have to force the
      buffers to be aligned according to the structure usage.
      
      Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      7e4b9b4f
    • Brad Bozarth's avatar
      spi flash: fix crash due to spi flash miscommunication · 68f8718d
      Brad Bozarth authored
      
      Higher spi flash layers expect to be given back a pointer that was
      malloced so that it can free the result, but the lower layers return
      a pointer that is in the middle of the malloced memory. Reorder the
      members of the lower spi structures so that things work out.
      
      Signed-off-by: default avatarBrad Bozarth <bflinux@yumbrad.com>
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Acked-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      68f8718d
    • Yuri Tikhonov's avatar
      FPU POST: fix warnings when building with 2.18 binutils · ce82ff05
      Yuri Tikhonov authored
      
      When compile u-boot with the 2.18 binutils the following
      warning messages for each object file in post/lib_ppc/fpu/ is
      produced at the linking stage:
      
      post/libpost.a(acc1.o) uses hard float, u-boot uses soft-float
      ...
      
      This is because of the fact that, in general, the soft-float and
      hard-float ABIs are incompatible; the 2.18 binutils do checking
      of the Tag_GNU_Power_ABI_FP attribute of the files to be linked, and
      produce the worning like above if these are not compatible.
      
      The incompatibility of ABIs is concerned only the float values:
      e.g. the soft-float ABI assumes the float argument passing in the
      pair of rX registers, and the hard-float ABI assumes passing of
      the float argument in the fX register. When we don't pass the float
      arguments between the functions compiled with different floatness,
      then such an application will work correctly.
      This is the case for the FPU POST: u-boot (compiled with soft-float)
      doesn't pass to (and doesn't get from) the FPU POST functions any
      floats; there are no functions exported from the post/lib_ppc/fpu/
      objects which would work with float parameters/returns too. So, we
      can reassure the linker not to worry about the difference in ABI
      attributes of linking files just by setting the 'soft-float'
      attribute for the objects in post/lib_ppc/fpu. And this patch does
      this.
      
      Also, to avoid passing both soft- and hard-float options in CFLAGS
      when compiling the files from post/lib_ppc/fpu (which is OK, but
      looks rather dirty) this patch removes the soft-float string from
      CFLAGS in post/lib_ppc/fpu/Makefile.
      
      Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
      ce82ff05
    • Peter Tyser's avatar
      Add support for Maxim's DS4510 I2C device · a7c93104
      Peter Tyser authored
      
      Initial support for the DS4510, a CPU supervisor with
      integrated EEPROM, SRAM, and 4 programmable non-volatile
      GPIO pins. The CONFIG_DS4510 define enables support
      for the device while the CONFIG_CMD_DS4510 define
      enables the ds4510 command. The additional
      CONFIG_DS4510_INFO, CONFIG_DS4510_MEM, and
      CONFIG_DS4510_RST defines add additional sub-commands
      to the ds4510 command when defined.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      a7c93104
    • Dirk Eibach's avatar
      common: Iteration limit for memory test. · b6fc6fd4
      Dirk Eibach authored
      
      The iteration limit is passed to mtest as a fourth parameter:
      [start [end [pattern [iterations]]]]
      If no fourth parameter is supplied, there is no iteration limit and the
      test will loop forever.
      
      Signed-off-by: default avatarDirk Eibach <eibach@gdsys.de>
      b6fc6fd4
    • Stefan Roese's avatar
      serial: Rename driver vcth to vct to support other board variants · 97cae3a4
      Stefan Roese authored
      
      Moved driver vcth.c to vct.c to better reflect the VCT board series.
      This driver is now used by the VCT platforms:
      
      vct_premium
      vct_platinum
      vct_platinumsvc
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      97cae3a4
Loading