1. 27 11月, 2012 1 次提交
    • S
      spl/nand: introduce CONFIG_SPL_NAND_DRIVERS, _BASE, and _ECC. · 6f2f01b9
      Scott Wood 提交于
      Some small SPLs do not use nand_base.c, and a subset of those also
      require a special driver.  Some SPLs need software ECC but others can't
      fit it.
      
      All existing boards that specify CONFIG_SPL_NAND_SUPPORT have these
      symbols added to preserve existing behavior.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      --
      v2: use positive logic for including bits of NAND, rather than
      a MINIMAL symbol that excludes things.
      6f2f01b9
  2. 23 10月, 2012 1 次提交
  3. 28 9月, 2012 2 次提交
    • T
      SPL: Move the omap SPL framework to common/spl · 47f7bcae
      Tom Rini 提交于
      Add a new flag, CONFIG_SPL_FRAMEWORK to opt into the common/spl SPL
      framework, enable on all of the previously using boards.  We move the
      spl_ymodem.c portion to common/ and spl_mmc.c to drivers/mmc/.  We leave
      the NAND one in-place as we plan to replace it later in this series.
      
      We use common/spl to avoid linker problems with respect to merging
      constant strings in objects.   Otherwise all strings in common/ will be
      linked in and kept which grows SPL in size too much.
      Signed-off-by: NTom Rini <trini@ti.com>
      47f7bcae
    • T
      ARM: SPL: Move gpmc_init() to spl_board_init() · d7cb93b2
      Tom Rini 提交于
      This is an OMAP/related-specific function, move calling it to
      spl_board_init() and turn on CONFIG_SPL_BOARD_INIT on the boards that
      enabled NAND and didn't enable this already.
      Signed-off-by: NTom Rini <trini@ti.com>
      d7cb93b2
  4. 01 9月, 2012 1 次提交
  5. 21 6月, 2012 1 次提交
  6. 24 5月, 2012 1 次提交
  7. 15 5月, 2012 2 次提交
  8. 12 2月, 2012 1 次提交
  9. 27 1月, 2012 1 次提交
    • S
      nand_spl_simple: store ecc data on the stack · d3022c5f
      Stefano Babic 提交于
      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: NStefano 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: NScott Wood <scottwood@freescale.com>
      d3022c5f
  10. 07 12月, 2011 3 次提交
  11. 22 10月, 2011 1 次提交
  12. 04 9月, 2011 1 次提交
  13. 04 8月, 2011 1 次提交
  14. 18 7月, 2011 1 次提交
  15. 13 5月, 2011 1 次提交
  16. 28 4月, 2011 1 次提交
  17. 30 11月, 2010 2 次提交
  18. 27 10月, 2010 1 次提交
    • W
      Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value · 25ddd1fb
      Wolfgang Denk 提交于
      CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
      being able to use "sizeof(struct global_data)" in assembler files.
      Recent experience has shown that manual synchronization is not
      reliable enough.  This patch renames CONFIG_SYS_GBL_DATA_SIZE into
      GENERATED_GBL_DATA_SIZE which gets automatically generated by the
      asm-offsets tool.  In the result, all definitions of this value can be
      deleted from the board config files.  We have to make sure that all
      files that reference such data include the new <asm-offsets.h> file.
      
      No other changes have been done yet, but it is obvious that similar
      changes / simplifications can be done for other, related macro
      definitions as well.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      25ddd1fb
  19. 12 8月, 2010 1 次提交
  20. 06 7月, 2010 1 次提交
  21. 08 6月, 2010 4 次提交
  22. 13 2月, 2010 1 次提交
  23. 01 2月, 2010 1 次提交
  24. 04 1月, 2010 1 次提交
  25. 09 12月, 2009 1 次提交
  26. 28 11月, 2009 1 次提交
  27. 19 10月, 2009 1 次提交
  28. 13 10月, 2009 1 次提交
    • T
      TI OMAP3 Use arm init sequence to initialize i2c · 0297ec7e
      Tom Rix 提交于
      This changes fixes an early i2c error.
      
      It appears that I2C is working because once a read or write
      error is detected, the omap24xx_i2c driver calls i2c_init
      inside its error handling check.
      
      While it is ok to attempt error handling this way, the boards
      must not depend on this side effect to initialize it's i2c.
      
      Instead of explicitly calling i2c_init for every board, use
      the generic arm initialization in lib_arm/board.c. By defining
      the config variable CONFIG_HARD_I2C, the omap3 i2c initialization
      is included in the init_sequence table.
      
      Run tested on Beagle.
      Compile tested on the omap3's
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      Acked-by: NDirk Behme <dirk.behme@googlemail.com>
      0297ec7e
  29. 04 10月, 2009 1 次提交
    • T
      TI OMAP3 Use arm init sequence to initialize i2c · 54737ba1
      Tom Rix 提交于
      This changes fixes an early i2c error.
      
      It appears that I2C is working because once a read or write
      error is detected, the omap24xx_i2c driver calls i2c_init
      inside its error handling check.
      
      While it is ok to attempt error handling this way, the boards
      must not depend on this side effect to initialize it's i2c.
      
      Instead of explicitly calling i2c_init for every board, use
      the generic arm initialization in lib_arm/board.c. By defining
      the config variable CONFIG_HARD_I2C, the omap3 i2c initialization
      is included in the init_sequence table.
      
      Run tested on Beagle.
      Compile tested on the omap3's
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      Acked-by: NDirk Behme <dirk.behme@googlemail.com>
      54737ba1
  30. 08 8月, 2009 2 次提交
  31. 29 7月, 2009 1 次提交
    • T
      OMAP3 Move twl4030 power and led functions · 2c155130
      Tom Rix 提交于
      Because twl4030 now has its own device files, move exiting
      omap3 power_init_r to a new location.
      
      power_init_r is the only function in board/omap3/common.
      It initializes the twl4030 power for the board and enables
      the led.
      
      The power part of the the function is moved to twl4030_power_init in
      drivers/power/twl4030.c The power compilation is conditional on the
      existing config variable CONFIG_TWL4030_POWER.
      
      The led part is moved to twl4030_led_init in the new file
      drivers/misc/twl4030_led.c  The led compilation is conditional on
      the new config variable CONFIG_TWL4030_LED
      
      The directory board/omap3/common was removed because power_init_r
      was the only function in it.
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Acked-by: NHeiko Schocher <hs@denx.de>
      2c155130