1. 09 Aug, 2017 2 commits
  2. 08 Aug, 2017 2 commits
  3. 05 Aug, 2017 1 commit
  4. 03 Aug, 2017 1 commit
  5. 02 Aug, 2017 2 commits
  6. 01 Aug, 2017 2 commits
  7. 30 Jul, 2017 1 commit
    • Furquan Shaikh's avatar
      i2c/designware: Do not re-initialize bus if configured by coreboot · 9ee4a955
      Furquan Shaikh authored
      
      
      Coreboot is taking a lot of effort reading device-tree values for
      fall/rise time or lcnt/hcnt and calculating and configuring
      controller register values to ensure I2C bus speed is within limits
      when used in firmware. Depthcharge driver was resetting all those
      values by using default configuration. This resulted in I2C bus speed
      in depthcharge going beyond limits. (Noticed by sudden spike in H1 I2C
      frequency in depthcharge).
      
      This change updates the designware I2C driver to check if high and low
      cycle time registers are already configured and skip initialization
      of the bus completely.
      
      BUG=b:35948024
      BRANCH=eve
      TEST=Verified that H1 I2C frequency is <400KHz in coreboot and in
      depthcharge. No spikes observed after jumping to depthcharge. Also, no
      errors seen while communicating with H1 in depthcharge.
      
      Change-Id: Icc2d2d45710a203325d1780f80e2e8d024c8c9a4
      Signed-off-by: default avatarFurquan Shaikh <furquan@chromium.org>
      Reviewed-on: https://chromium-review.googlesource.com/592550
      
      Reviewed-by: default avatarDuncan Laurie <dlaurie@google.com>
      9ee4a955
  8. 21 Jul, 2017 1 commit
  9. 19 Jul, 2017 2 commits
  10. 12 Jul, 2017 1 commit
    • Caveh Jalali's avatar
      ps8751: enable software sync. · 5a086f5c
      Caveh Jalali authored
      this turns on ps8751 firmware update during software sync on
      reef/electro and derivative boards.
      
      testing on electro:
      
      with debug code enabled in the ps8751 driver (i.e. forced update),
      we can see the update taking place in the console logs.  when no update
      is needed, we simply see:
      
      ps8751.1: vendor 0x1da0 product 0x8751 device 0x0001 hw_rev A3 fw_rev 0x37
      
      reported from the update driver, verifying that we've enabled the
      update driver in the board file.
      
      we have a working design doc for firmware updates:
      
      https://goto.google.com/obvph
      
      
      
      also, spot checked nasher build to verify defconfig changes carry over
      to derivative boards.
      
      TEST=updated ps8751 firmware on electro
      
      BUG=b:35586896
      BRANCH=none
      
      Change-Id: I2c777425d8d266f833b3da6fa255c76084989401
      Signed-off-by: default avatarCaveh Jalali <caveh@google.com>
      Reviewed-on: https://chromium-review.googlesource.com/502708
      
      Reviewed-by: default avatarJulius Werner <jwerner@chromium.org>
      5a086f5c
  11. 11 Jul, 2017 2 commits
  12. 06 Jul, 2017 1 commit
    • Julius Werner's avatar
      Makefile: Fix default for LIBPAYLOAD_DIR · 83724941
      Julius Werner authored
      
      
      We're usually passing LIBPAYLOAD_DIR to depthcharge's Makefile, but it's
      also possible to omit that parameter and have it default to the location
      that libpayload would be in if depthcharge's source is located under
      coreboot/payloads/.
      
      Unfortunately, it looks like that hasn't been working right for a while.
      We're trying to source xcompile from libpayload before we're setting
      that default, and we're later passing the derived location of lpgcc to
      vboot without handling the possibility that LIBPAYLOAD_DIR was a
      relative path. This patch resolves both issues. Since LIBPAYLOAD_DIR is
      usually not set for the Kconfig pass of the Makefile, move the code down
      into the respective ifeq section.
      
      BRANCH=None
      BUG=None
      TEST=Build and booted depthcharge for Kevin without emerge.
      
      Change-Id: Icec7262c7a0748944b0862fe7833a617a7ab567c
      Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
      Reviewed-on: https://chromium-review.googlesource.com/404903
      83724941
  13. 01 Jul, 2017 7 commits
  14. 30 Jun, 2017 2 commits
  15. 29 Jun, 2017 3 commits
  16. 28 Jun, 2017 6 commits
  17. 24 Jun, 2017 1 commit
  18. 22 Jun, 2017 2 commits
  19. 20 Jun, 2017 1 commit