1. 30 5月, 2018 1 次提交
  2. 08 5月, 2018 2 次提交
  3. 29 4月, 2018 1 次提交
    • A
      spl: Split sprintf, strto* from SPL serial in Kconfig · 14ad44ab
      Alex Kiernan 提交于
      When SPL serial is disabled, callers who need sprintf or strtoul fail
      because their inclusion is guarded by CONFIG_SPL_SERIAL_SUPPORT/
      CONFIG_TPL_SERIAL_SUPPORT.
      
      Split printf, sprintf and strto into their own entries and then select
      all of them if SERIAL_SUPPORT is enabled to match the current behaviour.
      
      Include panic.o unconditionally as it can be called from anywhere which
      uses BUG_ON().
      Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
      14ad44ab
  4. 04 4月, 2018 1 次提交
  5. 20 3月, 2018 1 次提交
    • B
      optee: Add lib entries for sharing OPTEE code across ports · 32ce6179
      Bryan O'Donoghue 提交于
      This patch adds code to lib to enable sharing of useful OPTEE code between
      board-ports and architectures. The code on lib/optee/optee.c comes from the
      TI omap2 port. Eventually the OMAP2 code will be patched to include the
      shared code. The intention here is to add more useful OPTEE specific code
      as more functionality gets added.
      Signed-off-by: NBryan O'Donoghue <bryan.odonoghue@linaro.org>
      Cc: Harinarayan Bhatta <harinarayan@ti.com>
      Cc: Andrew F. Davis <afd@ti.com>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Kever Yang <kever.yang@rock-chips.com>
      Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Tested-by: NPeng Fan <peng.fan@nxp.com>
      32ce6179
  6. 15 2月, 2018 1 次提交
  7. 09 2月, 2018 2 次提交
  8. 26 1月, 2018 1 次提交
  9. 27 12月, 2017 1 次提交
  10. 20 11月, 2017 1 次提交
  11. 06 10月, 2017 1 次提交
  12. 03 10月, 2017 1 次提交
  13. 11 9月, 2017 1 次提交
  14. 02 9月, 2017 1 次提交
  15. 20 8月, 2017 1 次提交
  16. 13 8月, 2017 1 次提交
  17. 25 7月, 2017 1 次提交
  18. 23 5月, 2017 1 次提交
  19. 30 4月, 2017 1 次提交
  20. 07 4月, 2017 2 次提交
  21. 05 4月, 2017 1 次提交
  22. 17 3月, 2017 1 次提交
  23. 19 10月, 2016 2 次提交
  24. 15 10月, 2016 1 次提交
  25. 20 8月, 2016 1 次提交
  26. 03 6月, 2016 1 次提交
    • M
      lib: Enable private libgcc by default · 91b86e21
      Marek Vasut 提交于
      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
      toolchain.
      
      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: NMarek 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: NTom Rini <trini@konsulko.com>
      91b86e21
  27. 31 3月, 2016 1 次提交
  28. 16 3月, 2016 1 次提交
  29. 15 3月, 2016 2 次提交
  30. 06 2月, 2016 1 次提交
  31. 19 1月, 2016 1 次提交
    • T
      vsprintf.c: Always enable CONFIG_SYS_VSNPRINTF · 947c626d
      Tom Rini 提交于
      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
      trade-off.
      
      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: NTom Rini <trini@konsulko.com>
      947c626d
  32. 23 11月, 2015 1 次提交
    • S
      lib/tiny-printf.c: Add tiny printf function for space limited environments · 7d9cde10
      Stefan Roese 提交于
      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:
      http://www.sparetimelabs.com/printfrevisited
      With mostly only coding style related changes so that its checkpatch
      clean.
      
      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
      
      Note:
      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: NStefan 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>
      7d9cde10
  33. 23 10月, 2015 1 次提交
  34. 12 10月, 2015 1 次提交
    • J
      Add support for LZ4 decompression algorithm · 027b728d
      Julius Werner 提交于
      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: NJulius Werner <jwerner@chromium.org>
      Acked-by: NSimon Glass <sjg@chromium.org>
      027b728d
  35. 31 8月, 2015 1 次提交