1. 27 Jan, 2011 1 commit
  2. 21 Dec, 2010 1 commit
  3. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored and Wolfgang Denk's avatar Wolfgang Denk committed
      
      
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  4. 28 Oct, 2010 1 commit
  5. 25 Oct, 2010 1 commit
    • Steve Sakoman's avatar
      ARMV7: OMAP: I2C driver: Fix bug found in 37XX testing · 4df66894
      Steve Sakoman authored and Heiko Schocher's avatar Heiko Schocher committed
      
      
      On OMAP36/37XX the standard on chip pullups are not sufficient to
      ensure proper i2c operation without external pullups or switching
      to high speed mode and enabling special on chip pullups.
      
      This is an issue for Beagle xM, which does not have external pullups
      on the expansion board i2c lines.
      
      The issue manifests itself as an AL (arbitration lost) error when
      probing for a non-existent device (i.e. on a Beagle xM with no expansion
      boards attached).  This issue does not occur on expansion boards that
      include pullups or on Overo 37XX COM's since they include pull-ups.
      
      This patch fixes the issue by checking for the AL bit in the i2c_probe
      function.
      Signed-off-by: default avatarSteve Sakoman <steve.sakoman@linaro.org>
      4df66894
  6. 20 Oct, 2010 4 commits
  7. 23 Sep, 2010 1 commit
  8. 19 Sep, 2010 1 commit
  9. 09 Sep, 2010 1 commit
  10. 30 Aug, 2010 2 commits
  11. 23 Aug, 2010 1 commit
  12. 05 Aug, 2010 1 commit
  13. 22 Jul, 2010 1 commit
  14. 06 Jul, 2010 1 commit
  15. 05 May, 2010 1 commit
  16. 19 Apr, 2010 1 commit
    • Richard Retanubun's avatar
      fsl_i2c: Added a callpoint for i2c_board_late_init · 26a33504
      Richard Retanubun authored and Heiko Schocher's avatar Heiko Schocher committed
      This patch adds a callpoint in i2c_init that allows board specific
      i2c board initialization (typically for i2c bus reset) that is called
      after i2c_init operations, allowing the i2c_board_late_init function
      to use the pre-configured i2c bus speed and slave address.
      26a33504
  17. 13 Apr, 2010 1 commit
  18. 06 Apr, 2010 1 commit
  19. 21 Mar, 2010 1 commit
  20. 12 Feb, 2010 1 commit
  21. 23 Jan, 2010 2 commits
  22. 21 Jan, 2010 1 commit
  23. 20 Jan, 2010 1 commit
  24. 27 Nov, 2009 2 commits
    • kevin.morfitt@fearnside-systems.co.uk's avatar
      Add a unified s3c24x0 header file · ac67804f
      
      
      This patch adds a unified s3c24x0 cpu header file that selects the header
      file for the specific s3c24x0 cpu from the SOC and CPU configs defined in
      board config file. This removes the current chain of s3c24-type #ifdef's
      from the s3c24x0 code.
      Signed-off-by: default avatarKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
      Signed-off-by: Minkyu Kang's avatarMinkyu Kang <mk7.kang@samsung.com>
      ac67804f
    • kevin.morfitt@fearnside-systems.co.uk's avatar
      Move s3c24x0 header files to asm-arm/arch-s3c24x0/ · 492fb1fd
      
      
      This patch moves the s3c24x0 header files from include/ to
      include/asm-arm/arch-s3c24x0/.
      
      checkpatch.pl showed 2 errors and 3 warnings. The 2 errors were both due
      to a non-UTF8 character in David M?ller's name:
      
      ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8
      #489: FILE: include/asm-arm/arch-s3c24x0/s3c2410.h:3:
      + * David M?ller ELSOFT AG Switzerland. d.mueller@elsoft.ch
      
      As David's name correctly contains a non-UTF8 character I haven't fixed
      these errors.
      
      The 3 warnings were all because of the use of 'volatile' in s3c24x0.h:
      
      WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
      #673: FILE: include/asm-arm/arch-s3c24x0/s3c24x0.h:35:
      +typedef volatile u8	S3C24X0_REG8;
      +typedef volatile u16	S3C24X0_REG16;
      +typedef volatile u32	S3C24X0_REG32;
      
      I'll fix these errors in another patch.
      
      Tested by running MAKEALL for ARM8 targets and ensuring there were no new
      errors or warnings.
      Signed-off-by: default avatarKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
      Signed-off-by: Minkyu Kang's avatarMinkyu Kang <mk7.kang@samsung.com>
      492fb1fd
  25. 23 Nov, 2009 1 commit
  26. 20 Nov, 2009 1 commit
  27. 16 Nov, 2009 1 commit
  28. 04 Nov, 2009 1 commit
    • kevin.morfitt@fearnside-systems.co.uk's avatar
      Move s3c24x0 header files to asm-arm/arch-s3c24x0/ · 17ab301c
      kevin.morfitt@fearnside-systems.co.uk authored and Minkyu Kang's avatar Minkyu Kang committed
      
      
      This patch moves the s3c24x0 header files from include/ to
      include/asm-arm/arch-s3c24x0/.
      
      checkpatch.pl showed 2 errors and 3 warnings. The 2 errors were both due
      to a non-UTF8 character in David M?ller's name:
      
      ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8
      #489: FILE: include/asm-arm/arch-s3c24x0/s3c2410.h:3:
      + * David M?ller ELSOFT AG Switzerland. d.mueller@elsoft.ch
      
      As David's name correctly contains a non-UTF8 character I haven't fixed
      these errors.
      
      The 3 warnings were all because of the use of 'volatile' in s3c24x0.h:
      
      WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
      #673: FILE: include/asm-arm/arch-s3c24x0/s3c24x0.h:35:
      +typedef volatile u8	S3C24X0_REG8;
      +typedef volatile u16	S3C24X0_REG16;
      +typedef volatile u32	S3C24X0_REG32;
      
      I'll fix these errors in another patch.
      
      Tested by running MAKEALL for ARM8 targets and ensuring there were no new
      errors or warnings.
      Signed-off-by: default avatarKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
      Signed-off-by: Minkyu Kang's avatarMinkyu Kang <mk7.kang@samsung.com>
      17ab301c
  29. 30 Oct, 2009 3 commits
  30. 14 Oct, 2009 1 commit
    • kevin.morfitt@fearnside-systems.co.uk's avatar
      Clean-up of s3c24x0 drivers excluding nand driver · eb0ae7f5
      
      
      This patch re-formats the arm920t s3c24x0 driver files, excluding the nand
      driver, in preparation for changes to add support for the Embest SBC2440-II Board.
      
      The changes are as follows:
      - re-indent the code using Lindent
      - make sure register layouts are defined using a C struct
      - replace the upper-case typedef'ed C struct names with lower case
        non-typedef'ed ones
      - make sure registers are accessed using the proper accessor functions
      - run checkpatch.pl and fix any error reports
      
      It assumes the following patch has been applied first:
      - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009
      - patches 1/4 and 2/4 of this series
      
      Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have
      any s3c2400 or s3c2410 boards but need this patch applying before I can submit
      patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400,
      smdk2410 and trab configs to use the mtd nand driver (which isn't used by any
      board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or
      errors were found.
      Signed-off-by: default avatarKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
      Signed-off-by: Minkyu Kang's avatarMinkyu Kang <mk7.kang@samsung.com>
      eb0ae7f5
  31. 12 Oct, 2009 1 commit
    • kevin.morfitt@fearnside-systems.co.uk's avatar
      Clean-up of s3c24x0 drivers excluding nand driver · d46879d8
      kevin.morfitt@fearnside-systems.co.uk authored and Minkyu Kang's avatar Minkyu Kang committed
      
      
      This patch re-formats the arm920t s3c24x0 driver files, excluding the nand
      driver, in preparation for changes to add support for the Embest SBC2440-II Board.
      
      The changes are as follows:
      - re-indent the code using Lindent
      - make sure register layouts are defined using a C struct
      - replace the upper-case typedef'ed C struct names with lower case
        non-typedef'ed ones
      - make sure registers are accessed using the proper accessor functions
      - run checkpatch.pl and fix any error reports
      
      It assumes the following patch has been applied first:
      - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009
      - patches 1/4 and 2/4 of this series
      
      Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have
      any s3c2400 or s3c2410 boards but need this patch applying before I can submit
      patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400,
      smdk2410 and trab configs to use the mtd nand driver (which isn't used by any
      board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or
      errors were found.
      Signed-off-by: default avatarKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
      Signed-off-by: Minkyu Kang's avatarMinkyu Kang <mk7.kang@samsung.com>
      d46879d8
  32. 03 Oct, 2009 1 commit