1. 17 Oct, 2022 1 commit
  2. 16 Oct, 2022 4 commits
  3. 14 Oct, 2022 1 commit
  4. 13 Oct, 2022 2 commits
  5. 12 Oct, 2022 5 commits
  6. 11 Oct, 2022 1 commit
  7. 10 Oct, 2022 2 commits
  8. 07 Oct, 2022 1 commit
    • Jeremy Bettis's avatar
      ec: Don't declare forward decls as weak · 08222606
      Jeremy Bettis authored
      
      
      If a function in a header is marked as weak (test_mockable), that tells
      the linker that it is ok for the symbol to be missing. We never want
      that.
      
      If a function implementation is marked as weak, that tells the linker it
      is ok to use a non-weak symbol instead of this one. This is what we want
      when we are trying to override functions.
      
      Remove all test_mockables from headers, except for one inline function
      that I wasn't sure what to do with.
      
      BRANCH=None
      BUG=None
      TEST=make -j$(nproc) runhosttests buildall && zmake build -a && \
        ./twister -v -i --clobber
      LOW_COVERAGE_REASON=Added stub get_ap_reset_stats() for tests that
      don't care about that function, and it's always unused.
      
      Change-Id: Ic00a897131c93ef134544f26a8e368ce1f78a5de
      Signed-off-by: default avatarJeremy Bettis <jbettis@google.com>
      Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3935720
      
      
      Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
      Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
      Commit-Queue: Tristan Honscheid <honscheid@google.com>
      Tested-by: default avatarJeremy Bettis <jbettis@chromium.org>
      Reviewed-by: default avatarTristan Honscheid <honscheid@google.com>
      Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
      08222606
  9. 06 Oct, 2022 1 commit
  10. 04 Oct, 2022 1 commit
  11. 03 Oct, 2022 1 commit
  12. 30 Sep, 2022 1 commit
    • Aaron Massey's avatar
      usb_common: Fix/test EC_CMD_PD_HOST_EVENT_STATUS · 0145905a
      Aaron Massey authored
      
      
      The EC_CMD_PD_HOST_EVENT_STATUS retrieved and cleared a bit-array of
      host event statuses that could never actually be set via public APIs,
      i.e. the pd_host_send_event() function because the aforementioned
      function was moved to a different source file.
      
      Move the pd_host_send_event() back to usb_pd_host_cmd.c so it can
      actually update the static event status bit-array. Validate this change
      by testing the host command status attribute in its response after
      invoking pd_send_host_event().
      
      Also allow the EC_CMD_PD_HOST_EVENT_STATUS to be compiled in test builds
      and instead disable it for the one incompatible test (charge ramp).
      
      BRANCH=none
      BUG=b:236075275
      BUG=b:249574372
      TEST=twister --clobber -i -s zephyr/test/drivers/drivers.host_cmd
      TEST=make runhosttests -j
      TEST=make BOARD=fusb307bgevb -j
      Signed-off-by: default avatarAaron Massey <aaronmassey@google.com>
      Change-Id: I548fc6c6eed3a2eab6e2c9b7d8862f4cc0786c12
      Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3924807
      
      
      Reviewed-by: default avatarJeremy Bettis <jbettis@chromium.org>
      Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
      0145905a
  13. 28 Sep, 2022 1 commit
  14. 26 Sep, 2022 2 commits
  15. 23 Sep, 2022 1 commit
  16. 22 Sep, 2022 1 commit
  17. 20 Sep, 2022 1 commit
  18. 16 Sep, 2022 1 commit
  19. 14 Sep, 2022 2 commits
  20. 13 Sep, 2022 2 commits
  21. 12 Sep, 2022 1 commit
  22. 09 Sep, 2022 1 commit
  23. 08 Sep, 2022 1 commit
  24. 02 Sep, 2022 1 commit
  25. 01 Sep, 2022 2 commits
  26. 31 Aug, 2022 1 commit
  27. 27 Aug, 2022 1 commit