Skip to content
Snippets Groups Projects
  1. Aug 10, 2013
  2. Jul 24, 2013
  3. Jul 23, 2013
  4. Jul 16, 2013
  5. Jul 11, 2013
  6. Jul 03, 2013
  7. Jun 26, 2013
  8. Jun 24, 2013
  9. Jun 20, 2013
  10. Jun 13, 2013
  11. Jun 03, 2013
  12. May 31, 2013
    • Sergey Lapin's avatar
      mtd: resync with Linux-3.7.1 · dfe64e2c
      Sergey Lapin authored
      
      This patch is essentially an update of u-boot MTD subsystem to
      the state of Linux-3.7.1 with exclusion of some bits:
      
      - the update is concentrated on NAND, no onenand or CFI/NOR/SPI
      flashes interfaces are updated EXCEPT for API changes.
      
      - new large NAND chips support is there, though some updates
      have got in Linux-3.8.-rc1, (which will follow on top of this patch).
      
      To produce this update I used tag v3.7.1 of linux-stable repository.
      
      The update was made using application of relevant patches,
      with changes relevant to U-Boot-only stuff sticked together
      to keep bisectability. Then all changes were grouped together
      to this patch.
      
      Signed-off-by: default avatarSergey Lapin <slapin@ossfans.org>
      [scottwood@freescale.com: some eccstrength and build fixes]
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      dfe64e2c
  13. May 14, 2013
    • Simon Glass's avatar
      libfdt: Add fdt_next_subnode() to permit easy subnode iteration · 88f95bba
      Simon Glass authored
      
      Iterating through subnodes with libfdt is a little painful to write as we
      need something like this:
      
      for (depth = 0, count = 0,
      	offset = fdt_next_node(fdt, parent_offset, &depth);
           (offset >= 0) && (depth > 0);
           offset = fdt_next_node(fdt, offset, &depth)) {
      	if (depth == 1) {
      		/* code body */
      	}
      }
      
      Using fdt_next_subnode() we can instead write this, which is shorter and
      easier to get right:
      
      for (offset = fdt_first_subnode(fdt, parent_offset);
           offset >= 0;
           offset = fdt_next_subnode(fdt, offset)) {
      	/* code body */
      }
      
      Also, it doesn't require two levels of indentation for the loop body.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      (Cherry-picked from dtc commit 4e76ec79)
      Acked-by: default avatarGerald Van Baren <vanbaren@cideas.com>
      88f95bba
  14. May 10, 2013
  15. May 09, 2013
  16. May 05, 2013
    • Mike Dunn's avatar
      lib: import bitrev library from the linux kernel · 0dd9c7a9
      Mike Dunn authored and Marek Vasut's avatar Marek Vasut committed
      
      This patch adds the bitrev library from the linux kernel.  This is a simple
      algorithm that uses an 8 bit look-up table to reverse the bits in data types of
      8, 16, or 32 bit widths.  The docg4 nand flash driver uses it.
      
      [port from linux kernel v3.9 commit 7ee32a6d30d1c8a3b7a07a6269da8f0a08662927]
      [originally added: v2.6.20 by commit a5cfc1ec58a07074dacb6aa8c79eff864c966d12]
      
      Signed-off-by: default avatarMike Dunn <mikedunn@newsguy.com>
      0dd9c7a9
  17. May 01, 2013
  18. Apr 19, 2013
    • Simon Glass's avatar
      crc32: Correct endianness of crc32 result · 74a18ee8
      Simon Glass authored
      
      When crc32 is handled by the hash library, it requires the data to be in
      big-endian format, since it reads it byte-wise. Thus at present the 'crc32'
      command reports incorrect data. For example, previously we might see:
      
      Peach # crc32 40000000 100
      CRC32 for 40000000 ... 400000ff ==> 0d968558
      
      but instead with the hash library we see:
      
      Peach # crc32 40000000 100
      CRC32 for 40000000 ... 400000ff ==> 5885960d
      
      Correct this.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarVadim Bendebury <vbendeb@google.com>
      74a18ee8
  19. Apr 12, 2013
  20. Apr 08, 2013
    • Andreas Bießmann's avatar
      omap_gpmc: add support for hw assisted BCH8 · 4a093006
      Andreas Bießmann authored and Tom Rini's avatar Tom Rini committed
      
      The kernel states:
      
      ---8<---
      The OMAP3 GPMC hardware BCH engine computes remainder polynomials, it does not
      provide automatic error location and correction: this step is implemented using
      the BCH library.
      --->8---
      
      And we do so in u-boot.
      
      This implementation uses the same layout for BCH8 but it is fix. The current
      provided layout does only work with 64 Byte OOB.
      
      Signed-off-by: Andreas Bießmann's avatarAndreas Bießmann <andreas.devel@googlemail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Ilya Yanok <ilya.yanok@cogentembedded.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Mansoor Ahamed <mansoor.ahamed@ti.com>
      Cc: Thomas Weber <thomas.weber.linux@googlemail.com>
      4a093006
  21. Mar 27, 2013
  22. Mar 25, 2013
  23. Mar 19, 2013
Loading