1. 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>
  2. 15 Nov, 2011 1 commit
  3. 07 Nov, 2011 1 commit
  4. 15 Oct, 2011 1 commit
  5. 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
      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
      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>
  6. 18 Oct, 2010 3 commits
  7. 21 Mar, 2010 1 commit
  8. 03 Jun, 2009 1 commit
    • Wolfgang Denk's avatar
      Redundant Environment: protect full sector size · dfcd7f21
      Wolfgang Denk authored
      Several boards used different ways to specify the size of the
      protected area when enabling flash write protection for the sectors
      holding the environment variables: some used CONFIG_ENV_SIZE and
      CONFIG_ENV_SIZE_REDUND, some used CONFIG_ENV_SECT_SIZE, and some even
      a mix of both for the "normal" and the "redundant" areas.
      Normally, this makes no difference at all. However, things are
      different when you have to deal with boards that can come with
      different types of flash chips, which may have different sector
      Here we may have to chose CONFIG_ENV_SECT_SIZE such that it fits the
      biggest sector size, which may include several sectors on boards using
      the smaller sector flash types. In such a case, using CONFIG_ENV_SIZE
      or CONFIG_ENV_SIZE_REDUND to enable the protection may lead to the
      case that only the first of these sectors get protected, while the
      following ones aren't.
      This is no real problem, but it can be confusing for the user -
      especially on boards that use CONFIG_ENV_SECT_SIZE to protect the
      "normal" areas, while using CONFIG_ENV_SIZE_REDUND for the
      "redundant" area.
      To avoid such inconsistencies, I changed all sucn boards that I found
      to consistently use CONFIG_ENV_SECT_SIZE for protection. This should
      not cause any functional changes to the code.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Paul Ruhland
      Cc: Pantelis Antoniou <panto@intracom.gr>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Gary Jennejohn <garyj@denx.de>
      Cc: Dave Ellis <DGE@sixnetio.com>
      Acked-by: default avatarStefan Roese <sr@denx.de>
  9. 18 Oct, 2008 1 commit
  10. 10 Sep, 2008 1 commit
  11. 09 Sep, 2008 1 commit
  12. 10 Jul, 2008 1 commit
  13. 02 Jul, 2008 1 commit
  14. 12 Jun, 2008 1 commit
    • Becky Bruce's avatar
      Change initdram() return type to phys_size_t · 9973e3c6
      Becky Bruce authored
      This patch changes the return type of initdram() from long int to phys_size_t.
      This is required for a couple of reasons: long int limits the amount of dram
      to 2GB, and u-boot in general is moving over to phys_size_t to represent the
      size of physical memory.  phys_size_t is defined as an unsigned long on almost
      all current platforms.
      This patch *only* changes the return type of the initdram function (in
      include/common.h, as well as in each board's implementation of initdram).  It
      does not actually modify the code inside the function on any of the platforms;
      platforms which wish to support more than 2GB of DRAM will need to modify
      their initdram() function code.
      Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
  15. 29 Feb, 2008 1 commit
  16. 25 Feb, 2008 1 commit
    • Marian Balakowicz's avatar
      [new uImage] Add dual format uImage support framework · d5934ad7
      Marian Balakowicz authored
      This patch adds framework for dual format images. Format detection is added
      and the bootm controll flow is updated to include cases for new FIT format
      When the legacy (image_header based) format is detected appropriate
      legacy specific handling is invoked. For the new (FIT based) format uImages
      dual boot framework has a minial support, that will only print out a
      corresponding debug messages. Implementation of the FIT specific handling will
      be added in following patches.
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
  17. 07 Feb, 2008 1 commit
  18. 12 Aug, 2007 1 commit
  19. 10 Jul, 2007 1 commit
  20. 09 Jul, 2007 1 commit
  21. 03 Jul, 2007 2 commits
  22. 18 Apr, 2007 1 commit
  23. 27 Feb, 2007 3 commits
  24. 20 Feb, 2007 1 commit
  25. 19 Feb, 2007 2 commits
  26. 10 Jan, 2007 1 commit
    • Wolfgang Denk's avatar
      Fix auto_update for MCC200 board. · 787fa158
      Wolfgang Denk authored
      The invocation of do_auto_update() is moved to the end of the
      misc_init_r() function, after the flash mappings have been
      initialized. Please find attached a patch that implements that
      Also correct the decoding of the keypad status. With this update, the
      key that will trigger the update is Column 2, Row 2.
  27. 22 Dec, 2006 1 commit
  28. 08 Dec, 2006 1 commit
  29. 27 Nov, 2006 1 commit
  30. 06 Nov, 2006 1 commit
  31. 08 Oct, 2006 1 commit
  32. 01 Sep, 2006 1 commit
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
        1) Add O= to the make command line
        'make O=/tmp/build all'
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
  33. 30 Aug, 2006 1 commit
  34. 27 Aug, 2006 1 commit