1. 17 Nov, 2010 1 commit
    • 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
  2. 14 Nov, 2010 1 commit
  3. 11 Nov, 2010 2 commits
  4. 29 Oct, 2010 1 commit
  5. 26 Oct, 2010 2 commits
    • Wolfgang Denk's avatar
      Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value · 25ddd1fb
      Wolfgang Denk authored
      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: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
      25ddd1fb
    • Wolfgang Denk's avatar
      Rename CONFIG_SYS_INIT_RAM_END into CONFIG_SYS_INIT_RAM_SIZE · 553f0982
      Wolfgang Denk authored
      CONFIG_SYS_INIT_RAM_END was a misnomer as it suggests this might be
      some end address; to make the meaning more clear we rename it into
      CONFIG_SYS_INIT_RAM_SIZE
      
      No other code changes are performed in this patch, only minor editing
      of white space (due to the changed length) and the comments was done,
      where noticed.
      
      Note that the code for the PATI and cmi_mpc5xx board configurations
      looks seriously broken.  Last known maintainers on Cc:
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Denis Peter <d.peter@mpl.ch>
      Cc: Martin Winistoerfer <martinwinistoerfer@gmx.ch>
      Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
      553f0982
  6. 24 Oct, 2010 1 commit
    • Wolfgang Denk's avatar
      MPC8315ERD: fix build error · 1db3fca7
      Wolfgang Denk authored
      Commit 29c6fbe0 "MPC5121: Add USB EHCI support" renamed
      CONFIG_SYS_MPC8xxx_USB_ADDR into CONFIG_SYS_FSL_USB_ADDR but missed
      to update arch/powerpc/cpu/mpc83xx/cpu_init.c, resulting in:
      
      cpu_init.c: In function 'cpu_init_f':
      cpu_init.c:332: error: 'CONFIG_SYS_MPC8xxx_USB_ADDR' undeclared (first use in this function)
      cpu_init.c:332: error: (Each undeclared identifier is reported only once
      cpu_init.c:332: error: for each function it appears in.)
      make[1]: *** [/work/wd/tmp-ppc/arch/powerpc/cpu/mpc83xx/cpu_init.o] Error 1
      
      Fix this.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      1db3fca7
  7. 20 Oct, 2010 13 commits
  8. 18 Oct, 2010 5 commits
  9. 13 Oct, 2010 1 commit
  10. 12 Oct, 2010 2 commits
  11. 07 Oct, 2010 2 commits
    • Kim Phillips's avatar
      powerpc/85xx: fix rev.2 job queue LIODN error storm · e95a0611
      Kim Phillips authored
      pumping line-rate traffic though a p4080 rev.2, which
      is configured to encrypt packets prior to forwarding through
      an IPsec tunnel, gets this error:
      
      of_platform ffe302000.jq: DECO: desc idx 22: LIODN error. DECO was trying
      to share from itself or from another DECO but the two Non-SEQ LIODN
      values didn't match or the "shared from" DECO's Descriptor required that
      the SEQ LIODNs be the same and they aren't.
      
      Since high traffic rates cause DECOs to begin to start sharing
      shared descriptors amongst themselves, and DECOs inherit job queue
      LIODNs when accessing shared descriptors, and a recently discovered
      rev.2 h/w erratum requires all sharing job queues in a partition
      have same liodn assignment, reassign the first job queue's liodn
      assignment to the rest.
      Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      e95a0611
    • Kumar Gala's avatar
      powerpc/p4080: Add new CPC register - HDBCR0 · 3c6a22b9
      Kumar Gala authored
      Manual was updated to add a new register for disabling CDQ speculation.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      3c6a22b9
  12. 06 Oct, 2010 2 commits
  13. 04 Oct, 2010 3 commits
  14. 28 Sep, 2010 1 commit
    • Wolfgang Denk's avatar
      mpc512x: fix build issues · 949c80e1
      Wolfgang Denk authored
      Commit 800eb096 "POST cleanup." removed file
      arch/powerpc/cpu/mpc512x/common.c but failed to remove the reference
      to it from arch/powerpc/cpu/mpc512x/Makefile which causes somewhat
      obscure build errors:
      
      make[1]: *** No rule to make target `/work/wd/tmp-ppc/arch/powerpc/cpu/mpc512x/.depend', needed by `_depend'.  Stop.
      
      Fix these.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      949c80e1
  15. 25 Sep, 2010 1 commit
  16. 23 Sep, 2010 2 commits