Skip to content
Snippets Groups Projects
  1. Jan 26, 2012
    • Scott Wood's avatar
      nand_spl: store ecc data on the stack · 25efd99d
      Scott Wood authored
      
      Adapt the following patch from spl to nand_spl:
      
        Author: Stefano Babic <sbabic@denx.de>
        Date:   Thu Dec 15 10:55:37 2011 +0100
      
            nand_spl_simple: store ecc data on the stack
      
            Currently nand_spl_simple puts it's temp data at 0x10000 offset in SDRAM
            which is likely to contain already loaded data.
            The patch saves the oob data and the ecc on the stack replacing
            the fixed address in RAM.
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
            CC: Ilya Yanok <yanok@emcraft.com>
            CC: Scott Wood <scottwood@freescale.com>
            CC: Tom Rini <tom.rini@gmail.com>
            CC: Simon Schwarz <simonschwarzcor@googlemail.com>
            CC: Wolfgang Denk <wd@denx.de>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      
      While nand_spl is on its way out, in favor of spl, there are still
      many boards using it, and conversions are gradual.  This allows us
      to get rid of CONFIG_SYS_NAND_ECCSTEPS and CONFIG_SYS_NAND_ECCTOTAL now,
      which would otherwise be likely to linger unreferenced after a conversion.
      
      It also eliminates a temporary error in the hawkboard_nand build, since
      the spl version of the patch removed ECCSTEPS/TOTAL from hawkboard.h, but
      the spl conversion is pending (and may be merged via a different tree).
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      25efd99d
  2. Dec 07, 2011
  3. Dec 06, 2011
  4. Nov 16, 2011
    • Stefan Roese's avatar
      nand_boot.c: Fix GCC 4.6 build warnings · 6d68621c
      Stefan Roese authored
      
      Fix:
      nand_boot.c: In function 'nand_read_page':
      nand_boot.c:190:6: warning: variable 'stat' set but not used [-Wunused-but-set-variable]
      nand_boot.c: In function 'nand_boot':
      nand_boot.c:271:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      6d68621c
  5. Oct 03, 2011
  6. Sep 30, 2011
  7. Sep 10, 2011
  8. Aug 04, 2011
  9. Jul 26, 2011
  10. Jul 11, 2011
  11. Jul 01, 2011
    • Alex Waterman's avatar
      NAND: Add 16bit NAND support for the NDFC · eced4626
      Alex Waterman authored
      
      This patch adds support for 16 bit NAND devices attached to the
      NDFC on ppc4xx processors. Two config entries were added:
      
        CONFIG_SYS_NDFC_16        - Setting this tells the NDFC that a
      			      16 bit device is attached.
        CONFIG_SYS_NDFC_EBC0_CFG  - This is for the External Bus
      			      Controller configuration register.
      
      Also, a new ndfc_read_byte() function was added which does not
      first convert the data to little endian.
      
      The NAND SPL was also modified to do 16bit bad block testing
      when a 16 bit chip is being used.
      
      Signed-off-by: default avatarAlex Waterman <awaterman@dawning.com>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      eced4626
  12. May 26, 2011
  13. May 16, 2011
  14. May 13, 2011
  15. Apr 27, 2011
  16. Apr 15, 2011
  17. Mar 31, 2011
  18. Mar 27, 2011
  19. Mar 22, 2011
  20. Feb 21, 2011
  21. Jan 14, 2011
  22. Dec 17, 2010
  23. Dec 16, 2010
    • Scott Wood's avatar
      powerpc/nand spl: link libgcc · 97a85b22
      Scott Wood authored
      
      Recent GCC (4.4+) performs out-of-line epilogues in some cases, when
      optimizing for size.  It causes a link error for _restgpr_30_x (and similar)
      if libgcc is not linked.
      
      It actually increases size with very small binaries, due to the fixed size
      of the out-of-line code, and not having any functions that actually need to
      restore more than 2 or 3 registers.  But I don't see a way to turn it off,
      other than asking GCC to optimize for speed -- which may also increase
      size for some boards.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      Acked-by: default avatarKim Phillips <kim.phillips@freescale.com>
      Acked-by: default avatarWolfgang Denk <wd@denx.de>
      97a85b22
    • Scott Wood's avatar
      powerpc/nand spl: link libgcc · 767589a7
      Scott Wood authored
      
      Recent GCC (4.4+) performs out-of-line epilogues in some cases, when
      optimizing for size.  It causes a link error for _restgpr_30_x (and similar)
      if libgcc is not linked.
      
      It actually increases size with very small binaries, due to the fixed size
      of the out-of-line code, and not having any functions that actually need to
      restore more than 2 or 3 registers.  But I don't see a way to turn it off,
      other than asking GCC to optimize for speed -- which may also increase
      size for some boards.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      Acked-by: default avatarKim Phillips <kim.phillips@freescale.com>
      Acked-by: default avatarWolfgang Denk <wd@denx.de>
      767589a7
  24. Dec 09, 2010
Loading