1. 24 Jul, 2013 1 commit
  2. 15 Mar, 2013 1 commit
    • Simon Glass's avatar
      Replace __bss_end__ with __bss_end · 3929fb0a
      Simon Glass authored
      Note this is a tree-wide change affecting multiple architectures.
      
      At present we use __bss_start, but mostly __bss_end__. This seems
      inconsistent and in a number of places __bss_end is used instead.
      
      Change to use __bss_end for the BSS end symbol throughout U-Boot. This
      makes it possible to use the asm-generic/sections.h file on all
      archs.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      3929fb0a
  3. 12 Mar, 2013 1 commit
    • Albert ARIBAUD's avatar
      Refactor linker-generated arrays · ef123c52
      Albert ARIBAUD authored
      Refactor linker-generated array code so that symbols
      which were previously linker-generated are now compiler-
      generated. This causes relocation records of type
      R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
      code which uses LGA able to run before relocation as
      well as after.
      
      Note: this affects more than ARM targets, as linker-
      lists span possibly all target architectures, notably
      PowerPC.
      
      Conflicts:
      	arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
      	arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
      	arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
      	board/ait/cam_enc_4xx/u-boot-spl.lds
      	board/davinci/da8xxevm/u-boot-spl-da850evm.lds
      	board/davinci/da8xxevm/u-boot-spl-hawk.lds
      	board/vpac270/u-boot-spl.lds
      Signed-off-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
      ef123c52
  4. 20 Dec, 2012 1 commit
  5. 22 Oct, 2012 2 commits
    • Marek Vasut's avatar
      common: Discard the __u_boot_cmd section · 8b493a52
      Marek Vasut authored
      The command declaration now uses the new LG-array method to generate
      list of commands. Thus the __u_boot_cmd section is now superseded and
      redundant and therefore can be removed. Also, remove externed symbols
      associated with this section from include/command.h .
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      8b493a52
    • Marek Vasut's avatar
      common: Add .u_boot_list into all linker files · 55675142
      Marek Vasut authored
      Add section for the linker-generated lists into all possible linker
      files, so that everyone can easily use these lists. This is mostly
      a mechanical adjustment.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      55675142
  6. 29 Jul, 2012 1 commit
  7. 28 May, 2012 3 commits
  8. 18 Apr, 2012 1 commit
  9. 26 Mar, 2012 4 commits
  10. 18 Mar, 2012 1 commit
    • Mike Frysinger's avatar
      usb: replace wait_ms() with mdelay() · 5b84dd67
      Mike Frysinger authored
      Common code has a mdelay() func, so use that instead of the usb-specific
      wait_ms() func.  This also fixes the build errors:
      
      ohci-hcd.c: In function 'submit_common_msg':
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1519:9: sorry, unimplemented: called from here
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1816:10: sorry, unimplemented: called from here
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1827:10: sorry, unimplemented: called from here
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1844:10: sorry, unimplemented: called from here
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1563:11: sorry, unimplemented: called from here
      /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
      ohci-hcd.c:1583:9: sorry, unimplemented: called from here
      make[1]: *** [ohci-hcd.o] Error 1
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      5b84dd67
  11. 08 Dec, 2011 1 commit
    • Bernhard Kaindl's avatar
      ne2000: Convert to new net-multi model, fixes build of three boards · d0201692
      Bernhard Kaindl authored
      This fixes the build of the two sh boards shmin and r7780mp and qemu-mips
      which currently fail to build due to dropped pre-CONFIG_NET_MULTI code.
      
      This v2 patch minimizes the number of lines in the diff for easy review
      and to eliminate any possible accidential changes resulting from moving
      lines of code in the file. This also makes the register function very easy.
      
      Any cleanups and improvements are intentionally deferred to follow-up patches
      to keep this patch as simple and as easy to review as possible.
      
      A new driver register function, ne2k_register() calls the existing
      one-time setup part of the old init function and calls eth_register().
      
      Changes to shmin, r7780mp and qemu-mips:
      - Call the new ne2k_register() from board_eth_init() of the boards.
      
      - Tested using qemu-mips board,
      - Tested the two renesas / sh boards r7780mp and shmin to compile again,
        and should work.
      
      checkpatch-clean when "--ignore VOLATILE" is added to .checkpatch.conf,
      and no warnings introduced in none of the three boards using this driver.
      Signed-off-by: default avatarBernhard Kaindl <bernhard.kaindl@gmx.net>
      d0201692
  12. 02 Dec, 2011 2 commits
  13. 15 Oct, 2011 1 commit
  14. 22 Aug, 2011 3 commits
  15. 01 Jun, 2011 1 commit
  16. 27 Mar, 2011 2 commits
  17. 03 Feb, 2011 1 commit
  18. 02 Feb, 2011 8 commits
  19. 21 Dec, 2010 1 commit
  20. 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
  21. 21 Oct, 2010 1 commit
  22. 18 Oct, 2010 1 commit
    • 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
  23. 09 Sep, 2010 1 commit