1. 20 Aug, 2016 1 commit
  2. 03 Jun, 2016 1 commit
    • Marek Vasut's avatar
      lib: Enable private libgcc by default · 91b86e21
      Marek Vasut authored
      This patch decouples U-Boot binary from the toolchain on systems where
      private libgcc is available. Instead of pulling in functions provided
      by the libgcc from the toolchain, U-Boot will use it's own set of libgcc
      functions. These functions are usually imported from Linux kernel, which
      also uses it's own libgcc functions instead of the ones provided by the
      This patch solves a rather common problem. The toolchain can usually
      generate code for many variants of target architecture and often even
      different endianness. The libgcc on the other hand is usually compiled
      for one particular configuration and the functions provided by it may
      or may not be suited for use in U-Boot. This can manifest in two ways,
      either the U-Boot fails to compile altogether and linker will complain
      or, in the much worse case, the resulting U-Boot will build, but will
      misbehave in very subtle and hard to debug ways.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
  3. 31 Mar, 2016 1 commit
  4. 16 Mar, 2016 1 commit
  5. 14 Mar, 2016 2 commits
  6. 06 Feb, 2016 1 commit
  7. 19 Jan, 2016 1 commit
    • Tom Rini's avatar
      vsprintf.c: Always enable CONFIG_SYS_VSNPRINTF · 947c626d
      Tom Rini authored
      Enabling this function always removes some class of string saftey issues.
      The size change here in general is about 400 bytes and this seems a reasonable
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Peter Robinson <pbrobinson@gmail.com>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Adrian Alonso <aalonso@freescale.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
  8. 23 Nov, 2015 1 commit
    • Stefan Roese's avatar
      lib/tiny-printf.c: Add tiny printf function for space limited environments · 7d9cde10
      Stefan Roese authored
      This patch adds a small printf() version that supports all basic formats.
      Its intented to be used in U-Boot SPL versions on platforms with very
      limited internal RAM sizes.
      To enable it, just define CONFIG_USE_TINY_PRINTF in your defconfig. This
      will result in the SPL using this tiny function and the main U-Boot
      still using the full-blown printf() function.
      This code was copied from:
      With mostly only coding style related changes so that its checkpatch
      The size reduction is about 2.5KiB. Here a comparison for the db-mv784mp-gp
      (Marvell AXP) SPL:
      Without this patch:
        58963   18536    1928   79427   13643 ./spl/u-boot-spl
      With this patch:
        56542   18536    1956   77034   12cea ./spl/u-boot-spl
      To make it possible to compile tiny-printf.c instead of vsprintf.c when
      CONFIG_USE_TINY_PRINTF is defined, the functions printf() and vprintf() are
      moved from common/console.c into vsprintf.c in this patch.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
  9. 23 Oct, 2015 1 commit
  10. 11 Oct, 2015 1 commit
    • Julius Werner's avatar
      Add support for LZ4 decompression algorithm · 027b728d
      Julius Werner authored
      This patch adds support for LZ4-compressed FIT image contents. This
      algorithm has a slightly worse compression ration than LZO while being
      nearly twice as fast to decompress. When loading images from a fast
      storage medium this usually results in a boot time win.
      Sandbox-tested only since I don't have a U-Boot development system set
      up right now. The code was imported unchanged from coreboot where it's
      proven to work, though. I'm mostly interested in getting this recognized
      by mkImage for use in a downstream project.
      Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
  11. 31 Aug, 2015 1 commit
  12. 05 Aug, 2015 1 commit
  13. 21 Jul, 2015 1 commit
    • Simon Glass's avatar
      Add a dhrystone benchmark command · d1389403
      Simon Glass authored
      Drystone provides a convenient sanity check that the CPU is running at full
      speed. Add this as a command which can be enabled as needed.
      Note: I investigated using Coremark for this but there was a license
      agreement and I could not work out if it was GPL-compatible.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  14. 08 Jul, 2015 1 commit
  15. 11 Jun, 2015 1 commit
    • Masahiro Yamada's avatar
      blackfin: fix undefined reference to srand and rand · 3850dbe8
      Masahiro Yamada authored
      Commit 9ba9e85f (net: Fix NET_RANDOM_ETHADDR dependencies)
      accidentally dropped CONFIG_LIB_RAND defines for 14 Blackfin boards.
      Prior to that commit, those boards defined CONFIG_LIB_RAND, but not
      CONFIG_NET_RANDOM_ETHADDR.  So, commit 9ba9e85f should not have
      touched them, but in fact it ripped CONFIG_LIB_RAND off from all the
      header files, which caused undefined reference to srand and rand.
      CONFIG_LIB_RAND=y must be revived for such boards.
      BTW, this commit indeed makes it better, but even with this fix,
      three boards (bf533-stamp, bf538f-ezkit, cm-bf548) still can not
      build due to region 'ram' overflowed error.  This was cause by
      commit 6eed3786 (net: Move the CMD_NET config to defconfigs)
      because CMD_NET selects NET, and NET selects REGEX.  Eventually,
      some boards were newly enabled with CONFIG_REGEX, increasing the
      memory footprint.  A patch is expected to fix the build error.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
  16. 01 Jun, 2015 1 commit
  17. 15 May, 2015 1 commit
  18. 10 May, 2015 1 commit
  19. 18 Apr, 2015 1 commit
  20. 25 Feb, 2015 1 commit
  21. 30 Jan, 2015 2 commits
  22. 23 Oct, 2014 2 commits
  23. 24 Sep, 2014 2 commits