1. 27 4月, 2020 1 次提交
    • S
      patman: Move to absolute imports · bf776679
      Simon Glass 提交于
      At present patman sets the python path on startup so that it can access
      the libraries it needs. If we convert to use absolute imports this is not
      necessary.
      
      Move patman to use absolute imports. This requires changes in tools which
      use the patman libraries (which is most of them).
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      bf776679
  2. 29 7月, 2019 1 次提交
    • S
      binman: Tidy up _SetupDtb() to use its own temporary file · a004f294
      Simon Glass 提交于
      At present EnsureCompiled() uses an file from the 'output' directory (in
      the tools module) when compiling the device tree. This is fine in most
      cases, allowing useful inspection of the output files from binman.
      
      However in functional tests, _SetupDtb() creates an output directory and
      immediately removes it afterwards. This serves no benefit and just
      confuses things, since the 'official' output directory is supposed to be
      created and destroyed in control.Binman().
      
      Add a new parameter for the optional temporary directory to use, and use a
      separate temporary directory in _SetupDtb().
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      a004f294
  3. 11 7月, 2019 1 次提交
    • S
      dtoc: Update fdt_util for Python 3 · 209a5597
      Simon Glass 提交于
      Since we are now using the bytes type in Python 3, the conversion in
      fdt32_to_cpu() is not necessary, so drop it.
      
      Also use 'int' instead of 'long' to convert the integer value, since
      'long' is not present in Python 3.
      
      With this, test_fdt passes with both Python 2 and 3:
      
      PYTHONPATH=/tmp/b/sandbox_spl/scripts/dtc/pylibfdt python \
      	./tools/dtoc/test_fdt -t
      
      PYTHONPATH=~/cosarm/dtc/pylibfdt:tools/patman python3 \
      	./tools/dtoc/test_fdt -t
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      209a5597
  4. 02 8月, 2018 4 次提交
  5. 09 7月, 2018 2 次提交
  6. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      83d290c5
  7. 16 1月, 2018 1 次提交
  8. 23 11月, 2017 1 次提交
  9. 15 9月, 2017 2 次提交
  10. 14 4月, 2017 1 次提交
  11. 09 10月, 2016 1 次提交
  12. 19 9月, 2016 4 次提交
  13. 15 7月, 2016 1 次提交