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 2 commits
  3. 02 Nov, 2010 1 commit
  4. 30 Oct, 2010 1 commit
  5. 29 Oct, 2010 3 commits
  6. 28 Oct, 2010 6 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
    • Shawn Guo's avatar
      mx51evk: support new relocation scheme · 1ab027cb
      Shawn Guo authored
      This patch is to fix build breakage and support new relocation
      scheme for mx51evk.
      
      - Correct IRAM base address and add size definition
      
        The IRAM starts from 0x1FFE0000 on final revsion i.mx51 than
        0x1FFE8000 which is for older revision.
      
      - Include imx-regs.h in mx51evk.h
      
        Definitions like CSD0_BASE_ADDR and IRAM_BASE_ADDR can be
        referred to.
      
      - Define CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE
      
        They are used to define init RAM layout.
      
      - Remove comment for CONFIG_SYS_GBL_DATA_SIZE which has been
        buried by Wolfgang's commit below
      
        25ddd1fb: Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value
      Signed-off-by: default avatarShawn Guo <shawn.gsc@gmail.com>
      1ab027cb
    • 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
  7. 27 Oct, 2010 2 commits
  8. 26 Oct, 2010 6 commits
  9. 23 Oct, 2010 1 commit
  10. 21 Oct, 2010 3 commits
  11. 19 Oct, 2010 13 commits