Skip to content
Snippets Groups Projects
  1. Oct 17, 2011
    • Stefano Babic's avatar
      VIDEO: MX5: Switch MX5 to CONFIG_VIDEO · 63f832fb
      Stefano Babic authored
      
      The framebuffer driver for MX5 is based on CONFIG_LCD.
      In the current implementation, there is a serious bug
      because the required memory is allocated before
      relocation, but the driver knows only later which is
      the resolution of the display. The patch switches the driver
      to CONFIG_VIDEO and the memory is allocated by the driver itself.
      
      We also need to switch the vision2 board code and config file
      in the same commit so that this commit will be bisectable.
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      CC: Anatolij Gustschin <agust@denx.de>
      Tested-by: default avatarStefano Babic <sbabic@denx.de>
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      63f832fb
    • Timur Tabi's avatar
      video: update the Freescale DIU driver to use linux/fb.h · 3c59e398
      Timur Tabi authored
      
      Update the Freescale DIU video driver (fsl_diu_fb.c) to use linux/fb.h.
      Some data structures from this header file were just copied into
      fsl_diu_fb.c.
      
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      3c59e398
    • Mike Frysinger's avatar
      powerpc: cpm2 boards: update fcc register logic · d4590da4
      Mike Frysinger authored
      
      In the recent dropping of !NET_MULTI code (commit e2a53458),
      I misread the logic in include/net.h.  Some of it was used by NET_MULTI
      code as glue between the multi/non-multi worlds for cpm2 boards.
      
      Rather than restore the block of code, push the logic to the board config
      headers where it all belongs.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      d4590da4
    • Anatolij Gustschin's avatar
      zlib: handle overflow while calculating available stream input size · 92faa8b1
      Anatolij Gustschin authored
      
      If compressed data is located in sectors at the end of the flash and
      it's offset + input stream size > 0xFFFFFFFF, the uncompressing time
      is very long, since processing of the stream is done bytewise (and
      not blockwise) due to overflow in inflate_fast() while calculation
      and checking for enough input available.
      
      Check for this overflow condition and limit the available stream
      input size to the actually max. possible input size. This fixes
      the problem.
      
      The issue is easily reproduceable by placing a gziped bitmap in flash,
      e.g. at FFF80000, and running 'bmp' commands like 'bmp info FFF80000'
      or 'bmp display FFF80000'. The uncompressing can take up to 3 sec.
      whereas it should normaly take a fraction of a second. If the
      'splashimage' environment variable points to this address, the
      booting time also increases significantly.
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      92faa8b1
  2. Oct 15, 2011
  3. Oct 14, 2011
  4. Oct 12, 2011
  5. Oct 10, 2011
    • Laurence Withers's avatar
      NAND: davinci: choose correct 1-bit h/w ECC reg · 60161943
      Laurence Withers authored
      
      In nand_davinci_readecc(), select the correct NANDF<n>ECC register based
      on CONFIG_SYS_NAND_CS rather than hardcoding the choice of NANDF1ECC.
      This allows 1-bit hardware ECC to work with chip select other than CS2.
      
      Note this now matches the usage in nand_davinci_enable_hwecc(), which
      already had the correct handling, and allows refactoring to a single
      function encapsulating the register read.
      
      Without this fix, writing NAND pages to a chip not wired to CS2 would
      result in in the ECC calculation always returning FFFFFF for each
      512-byte segment, and reading back a correctly written page (one with
      ECC intact) would always fail. With this fix, the ECC is written and
      verified correctly.
      
      Signed-off-by: default avatarLaurence Withers <lwithers@guralp.com>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      60161943
Loading