1. 27 4月, 2020 4 次提交
  2. 18 4月, 2020 1 次提交
  3. 05 11月, 2019 3 次提交
  4. 29 7月, 2019 6 次提交
  5. 11 7月, 2019 14 次提交
  6. 27 4月, 2019 1 次提交
    • H
      dtb_platdata.py: prevent define generation of alias · e9cde87e
      Heiko Schocher 提交于
      generate define for an alias only if the struct is not
      created already.
      
      This prevents compilerwarning:
        PLAT    spl/dts/dt-platdata.o
      spl/dts/dt-platdata.c:11:46: error: missing braces around initializer [-Werror=missing-braces]
       static const struct dtd_simple_bus dtv_ahb = {
                                                    ^
      spl/dts/dt-platdata.c:20:46: error: missing braces around initializer [-Werror=missing-braces]
       static const struct dtd_simple_bus dtv_apb = {
                                                    ^
      cc1: all warnings being treated as errors
      
      on the at91 based taurus board. Reason is in at91sam9260.dtsi
      is defined:
      
      ahb {
              compatible = "simple-bus";
              ranges;
      
      and later:
      
      pinctrl: pinctrl@fffff400 {
              compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
              ranges = <0xfffff400 0xfffff400 0x600>;
      
      without this patch dtoc generates:
      
      struct dtd_atmel_at91rm9200_pinctrl {
      	fdt32_t		atmel_mux_mask[6];
      	fdt32_t		ranges[3];
      	fdt32_t		reg[6];
      };
      
      struct dtd_simple_bus {
              bool            ranges;
      };
      
      "#define dtd_simple_bus dtd_atmel_at91rm9200_pinctrl"
      
      and the line with "define dtd_simple_bus..." introduces
      the warning. This define is not needed.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      e9cde87e
  7. 26 1月, 2019 1 次提交
  8. 16 1月, 2019 1 次提交
  9. 09 10月, 2018 1 次提交
  10. 08 10月, 2018 4 次提交
    • S
      binman: Run tests concurrently · 11ae93ee
      Simon Glass 提交于
      At present the tests run one after the other using a single CPU. This is
      not very efficient. Bring in the concurrencytest module and run the tests
      concurrently, using one process for each CPU by default. A -P option
      allows this to be overridden, which is necessary for code-coverage to
      function correctly.
      
      This requires fixing a few tests which are currently not fully
      independent.
      
      At some point we might consider doing this across all pytests in U-Boot.
      There is a pytest version that supports specifying the number of processes
      to use, but it did not work for me.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      11ae93ee
    • S
      buildman: dtoc: Suppress unwanted output from test · 4b4bc06e
      Simon Glass 提交于
      There are a few test cases which print output. Suppress this so that tests
      can run silently in the normal case.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      4b4bc06e
    • S
      binman: Fix up removal of temporary directories · e0e6275f
      Simon Glass 提交于
      At present 'make check' leaves some temporary directories around. Part of
      this is because we call tools.PrepareOutputDir() twice in some cases,
      without calling tools.FinaliseOutputDir() in between.
      
      Fix this.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      e0e6275f
    • S
      binman: Add a default path to libfdt.py · ed59e005
      Simon Glass 提交于
      This module is often available in the sandbox_spl build created by
      'make check'. Use this as a default path so that just typing 'binman -t'
      (without setting PYTHONPATH) will generally run the tests.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      ed59e005
  11. 29 9月, 2018 4 次提交