1. 17 Dec, 2011 4 commits
    • Sonny Rao's avatar
      Add safe vsnprintf and snprintf library functions · 046a37bd
      Sonny Rao authored
      From: Sonny Rao <sonnyrao@chromium.org>
      These functions are useful in U-Boot because they allow a graceful failure
      rather than an unpredictable stack overflow when printf() buffers are
      Mostly copied from the Linux kernel. I copied vscnprintf and
      scnprintf so we can change printf and vprintf to use the safe
      implementation but still return the correct values.
      (Simon Glass <sjg@chromium.org> modified this commit a little)
      Signed-off-by: default avatarSonny Rao <sonnyrao@chromium.org>
    • Simon Glass's avatar
      Move vsprintf functions into their own header · 9785c905
      Simon Glass authored
      common.h is very large, so before changing the vsprintf functions, move the
      prototypes into their own header file.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    • Kyle Moffett's avatar
      tools/setlocalversion: Update from the Linux Kernel · a7b39185
      Kyle Moffett authored
      Several bugfixes have occurred upstream since this script was imported
      into U-Boot.  In particular, the script currently in U-Boot does not
      describe commit f8bbb4da correctly,
      resulting in a version of "2011.09" instead of "2011.09-01460-gf8bbb4da
      With that commit checked out, the command "git name-rev --tags HEAD"
      gives this result:
        HEAD tags/v2011.12-rc1~30^2
      Then the "changes" regex does not match because of the trailing '^2':
        grep -E '^HEAD[[:space:]]+(.*~[0-9]*|undefined)$'
      The new version of tools/setlocalversion in the kernel correctly handles
      those situations by using different plumbing commands.
      The version from the kernel is not directly usable as it does not append
      the full GIT version that U-Boot expects unless the right config options
      are set (CONFIG_LOCALVERSION_AUTO=y).  Other than a few minor changes
      for Kconfig, the imported version is very similar to Linux v3.2-rc4.
      Signed-off-by: default avatarKyle Moffett <Kyle.D.Moffett@boeing.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
    • Wolfgang Denk's avatar
      Merge branch 'master' of git://git.denx.de/u-boot-usb · 8b0affec
      Wolfgang Denk authored
      * 'master' of git://git.denx.de/u-boot-usb:
        USB: Use (get|put)_unaligned for accessing wMaxPacketSize
        usb:gadget:s5p Enable the USB Gadget framework at Exynos4210 (C210 Universal)
        README: add documentation for CONFIG_USB_ULPI*
        USB: ULPI: increase error case verbosity
        USB: ULPI: clean a mixup of return types
        USB: ULPI: switch argument type from u8 to unsigned
  2. 16 Dec, 2011 6 commits
  3. 13 Dec, 2011 1 commit
  4. 12 Dec, 2011 15 commits
  5. 11 Dec, 2011 14 commits