1. 17 Nov, 2010 2 commits
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      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
    • Albert Aribaud's avatar
      ARM: fix linker file for newer ld support · aaeb0a89
      Albert Aribaud authored
      older ld emitted all ELF relocations in input sections named
      .rel.dyn, whereas newer ld uses names of the form .rel*. The
      linker script only collected .rel.dyn input sections. Rewrite
      to collect all .rel* input sections.
      Signed-off-by: default avatarAlbert Aribaud <albert.aribaud@free.fr>
      aaeb0a89
  2. 04 Nov, 2010 1 commit
  3. 29 Oct, 2010 2 commits
  4. 28 Oct, 2010 5 commits
    • Tanmay Upadhyay's avatar
      Kirkwood: bugfix: DRAM size initialization · 28e57108
      Tanmay Upadhyay authored
      If start of any DRAM bank is greater than total DDR size, remaining DDR banks' start address & size were left un-initialized in dram_init function. This could break other functions who uses array 'gd->bd->bi_dram'. Kirkwood network driver is one example. This also stops Linux kernel from booting.
      
      v2 - Set start address also to 0. Without this Linux kernel couldn't
           boot up
      Signed-off-by: default avatarTanmay Upadhyay <tanmay.upadhyay@einfochips.com>
      28e57108
    • Stefano Babic's avatar
      MX51: remove warning in clock.c · 9a004418
      Stefano Babic authored
      The patch removes the warning:
      
      clock.c:291: warning: initialization from incompatible pointer type
      
      after  constification of args[]
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      9a004418
    • Matthias Weisser's avatar
      imx25: Fix reset · 81129d07
      Matthias Weisser authored
      This patch fixes the reset command on imx25. The watchdog registers are 16
      bits in size and not 32. This patch also adds the service register codes as
      constants.
      Signed-off-by: default avatarMatthias Weisser <weisserm@arcor.de>
      81129d07
    • Jason Liu's avatar
      MX5:use common u-boot.lds of cpu layer · 95707aaa
      Jason Liu authored
      Remove u-boot.lds from mx5 and use the common u-boot.lds
      of cpu layer. This patch also fix the building errors:
      
      arch/arm/cpu/armv7/start.o: In function `_rel_dyn_start_ofs':
      arch/arm/cpu/armv7/start.S:283: undefined reference to `__rel_dyn_start'
      arch/arm/cpu/armv7/start.o: In function `_rel_dyn_end_ofs':
      arch/arm/cpu/armv7/start.S:283: undefined reference to `__rel_dyn_end'
      arch/arm/cpu/armv7/start.o: In function `_dynsym_start_ofs':
      arch/arm/cpu/armv7/start.S:283: undefined reference to `__dynsym_start'
      Signed-off-by: default avatarJason Liu <r64343@freescale.com>
      95707aaa
    • C Nauman's avatar
      Add generic support for samsung s3c2440 · d9abba82
      C Nauman authored
      This patch adds generic support for the Samsung s3c2440 processor.
      
      Global s3c24x0 changes to struct members converting from upper case to
      lower case.
      Signed-off-by: default avatarCraig Nauman <cnauman@diagraph.com>
      Cc: kevin.morfitt@fearnside-systems.co.uk
      Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
      d9abba82
  5. 27 Oct, 2010 2 commits
  6. 26 Oct, 2010 5 commits
  7. 21 Oct, 2010 2 commits
  8. 19 Oct, 2010 9 commits
  9. 18 Oct, 2010 2 commits
    • Wolfgang Denk's avatar
      Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE · 14d0a02a
      Wolfgang Denk authored
      The change is currently needed to be able to remove the board
      configuration scripting from the top level Makefile and replace it by
      a simple, table driven script.
      
      Moving this configuration setting into the "CONFIG_*" name space is
      also desirable because it is needed if we ever should move forward to
      a Kconfig driven configuration system.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      14d0a02a
    • Jason Liu's avatar
      MX5: rename mx51 to mx5 · ff9f475d
      Jason Liu authored
      Rename mx51 to mx5 in order to support more mx51
      like-style SOCs such as MX53 and the followings.
      Signed-off-by: default avatarJason Liu <r64343@freescale.com>
      ff9f475d
  10. 17 Oct, 2010 2 commits
  11. 13 Oct, 2010 8 commits