Skip to content
Snippets Groups Projects
  1. Oct 17, 2011
    • 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
    • Xiangfu Liu's avatar
      MIPS: Ingenic XBurst Jz4740 processor support · 80421fcc
      Xiangfu Liu authored
      Jz4740 is a multimedia application processor targeting for mobile
      devices like e-Dictionary, eBook, portable media player (PMP) and
      GPS navigator.  Jz4740 is powered by Ingenic 360 MHz XBurst CPU core
      (JzRISC), in which RISC/SIMD/DSP hybrid instruction set architecture
      provides high integration, high performance and low power consumption.
      
      JzRISC incorporated in Jz4740 is the advanced and power-efficient
      32-bit RISC core, compatible with MIPS32, with 16K I-Cache and 16K
      D-Cache, and can operate at speeds up to 400 MHz.
      
      On-chip modules such as LCD controller, embedded audio codec, multi-
      channel SAR-ADC, AC97/I2S controller and camera I/F offer a rich
      suite of peripherals for multimedia application.  NAND controller
      (SLC/MLC), USB (host 1.1 and device 2.0), UART, I2C, SPI, etc. are
      also available.
      
      For more info about Ingenic XBurst Jz4740:
        http://en.ingenic.cn/eng/
        http://www.linux-mips.org/wiki/Ingenic
      
      
      
      This patch introduces XBurst CPU support in U-Boot.  It's compatible
      with MIPS32, but requires a bit different cache maintenance, timer
      routines, and boot mechanism using USB boot tool, so XBurst support
      can go into a separate new home, cpu/xburst/.
      
      Signed-off-by: default avatarXiangfu Liu <xiangfu@openmobilefree.net>
      Acked-by: default avatarDaniel <zpxu@ingenic.cn>
      Signed-off-by: default avatarShinya Kuribayashi <skuribay@pobox.com>
      80421fcc
Loading