Commits on Apr 27, 2020

  1. mb/google/volteer: add touchscreen entry to Volteer

    BUG=b:149588766
    TEST=ELAN and Goodix touchscreen works.
    
    Signed-off-by: Alex Levin <levinale@chromium.org>
    Change-Id: I1c3e75eb03a8ab434ee58bf36a155f2255612083
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40551
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
    Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
    Alex Levin authored and furquan-goog committed Apr 27, 2020
    Copy the full SHA
    34d9e68 View commit details
    Browse the repository at this point in the history
  2. Documentation: Add vboot on Lenovo devices

    Describe vboot implementation details for retrofitted Lenovo ThinkPad devices.
    
    Change-Id: Ibabcc939d9d01f00a93fd42adc48057966ad877e
    Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
    Signed-off-by: Marcello Sylvester Bauer <sylv@sylv.io>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39151
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    PatrickRudolph authored and siro20 committed Apr 27, 2020
    Copy the full SHA
    fcfca1d View commit details
    Browse the repository at this point in the history
  3. sb/amd/agesa/hudson: Const'ify pci_devfn_t devices

    Change-Id: I5a9078baa2224865d0746b6d41f6053ac3a51e09
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40603
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    ElyesH authored and miczyg1 committed Apr 27, 2020
    Copy the full SHA
    49f63e0 View commit details
    Browse the repository at this point in the history
  4. sb/amd/cimx/sb800: Const'ify pci_devfn_t devices

    Change-Id: I25a6c3ac2426881c6b3f6390ffdc76f08944b7fa
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40602
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    ElyesH authored and miczyg1 committed Apr 27, 2020
    Copy the full SHA
    db4f3ba View commit details
    Browse the repository at this point in the history
  5. sb/pi/hudson: Const'ify pci_devfn_t devices

    Change-Id: I9e63c811c4ac5674b2930304455d828ee516b521
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40601
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    ElyesH authored and miczyg1 committed Apr 27, 2020
    Copy the full SHA
    2f58a00 View commit details
    Browse the repository at this point in the history
  6. mb/google/hatch/var/jinlon: Update DPTF parameters

    The change applies the DPTF parameters received from the thermal team.
    
    1. Set PL1 Min to 3W
    2. Set sample period of TCPU/TSR0/TSR1 to 30 Sec
    3. Enable EC_ENABLE_MULTIPLE_DPTF_PROFILES and add trigger points
       for tablet mode.
    4. Update trigger points of CPU/TSR0/TSR1
    
    BUG=b:154564062, b:154290855
    BRANCH=hatch
    TEST=build and verified by thermal team.
    
    Change-Id: I87170e63de222487a3bda1217c4ee87a2ec1984f
    Signed-off-by: Wisley Chen <wisley.chen@quantatw.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40568
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Wisley Chen authored and Tim Wawrzynczak committed Apr 27, 2020
    Copy the full SHA
    2f7f0c6 View commit details
    Browse the repository at this point in the history
  7. arch/x86/acpigen: Add helpers for generating _ADR

    This change adds the following helpers:
    acpigen_write_ADR: Generates _ADR object using provided 64-bit address
    acpigen_write_ADR_pci_devfn: Generates _ADR object for PCI bus device
    using devfn as input.
    acpigen_write_ADR_pci_device: Generates _ADR object for PCI
    bus device using struct device * as input.
    
    BUG=b:153858769
    
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Change-Id: I139dfc30aa7db303c1e8bd4a8f9ee0933a60139b
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40670
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    furquan-goog committed Apr 27, 2020
    Copy the full SHA
    1a82923 View commit details
    Browse the repository at this point in the history
  8. mb/google/deltaur: Move the code under domain

    Chip drivers not overrided if out of domain. Only device can get
    override, so move the code under domain.
    
    BUG=b:152924290,b:152931802
    TEST=Touch screen and Touch pad can work well.
    
    Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
    Change-Id: Iaaa73e36ec268d26ebd3cafab79179fe22a926a7
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40655
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    EricRLai authored and Tim Wawrzynczak committed Apr 27, 2020
    Copy the full SHA
    780639b View commit details
    Browse the repository at this point in the history
  9. mb/google/deltaur: Enable DRIVERS_I2C_HID for Touchpad

    Cirque touchpad uses I2C_HID driver.
    
    BUG=b:152931802
    TEST=Touch pad can work well in the OS.
    
    Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
    Change-Id: I3f8d5abad2f153f395ba7e3f979ad3d2526e040c
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40656
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    EricRLai authored and Tim Wawrzynczak committed Apr 27, 2020
    Copy the full SHA
    fd50aea View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. drivers/spi/tpm: Add support for non CR50 SPI TPM2

    Add support for a STM SPI TPM2 by adding checks for CR50.
    Tested using ST33HTPH2E32.
    
    Change-Id: I015497ca078979a44ba2b84e4995493de1f7247b
    Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39693
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    PatrickRudolph authored and zaolin committed Apr 28, 2020
    Copy the full SHA
    7bcd9a1 View commit details
    Browse the repository at this point in the history
  2. security: Add common boot media write protection

    Introduce boot media protection settings and use the existing
    boot_device_wp_region() function to apply settings on all
    platforms that supports it yet.
    
    Also remove the Intel southbridge code, which is now obsolete.
    Every platform locks the SPIBAR in a different stage.
    For align up with the common mrc cache driver and lock after it has been
    written to.
    
    Tested on Supermicro X11SSH-TF. The whole address space is write-protected.
    
    Change-Id: Iceb3ecf0bde5cec562bc62d1d5c79da35305d183
    Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/32704
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    siro20 authored and zaolin committed Apr 28, 2020
    Copy the full SHA
    78feacc View commit details
    Browse the repository at this point in the history
  3. security/lockdown: Write-protect WP_RO

    Allow to write protect only the WP_RO region in case of enabled VBOOT.
    One can either lock the boot device in VERSTAGE early if VBOOT is enabled,
    or late in RAMSTAGE. Both options have their downsides as explained below.
    
    Lock early if you don't trust the code that's stored in the writeable
    flash partition. This prevents write-protecting the MRC cache, which
    is written in ramstage. In case the contents of the MRC cache are
    corrupted this can lead to system instability or trigger unwanted code
    flows inside the firmware.
    
    Lock late if you trust the code that's stored in the writeable
    flash partition. This allows write-protecting the MRC cache, but
    if a vulnerability is found in the code of the writeable partition
    an attacker might be able to overwrite the whole flash as it hasn't
    been locked yet.
    
    Change-Id: I72c3e1a0720514b9b85b0433944ab5fb7109b2a2
    Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
    Signed-off-by: Christian Walter <christian.walter@9elements.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/32705
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
    PatrickRudolph authored and zaolin committed Apr 28, 2020
    Copy the full SHA
    6093c50 View commit details
    Browse the repository at this point in the history
  4. Documentation: Spell vboot all lowercase

    Update all occurrences of vboot and spell it lowercase.
    
    Change-Id: I432b0db8a3dda43b71844e557a3d89180f25f1c3
    Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
    Signed-off-by: Marcello Sylvester Bauer <sylv@sylv.io>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39799
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    PatrickRudolph authored and pgeorgi committed Apr 28, 2020
    Copy the full SHA
    8c82010 View commit details
    Browse the repository at this point in the history
  5. payloads/tianocore: Init submodules

    Recent changes to upstream edk2 necessitate ensuring
    that Tianocore's submodules exist and are up to date,
    otherwise building UefiPayloadPkg will fail.
    
    Change method used to detect a dirty tree so that initialized
    submodules do not taint the result.
    
    Test: build qemu with Tianocore UefiPayloadPkg option successfully.
    
    Change-Id: Ie2541f048966ec0666d8196508ccdb6c5f089de6
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40590
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    MrChromebox committed Apr 28, 2020
    Copy the full SHA
    ae48b42 View commit details
    Browse the repository at this point in the history
  6. payloads/tianocore: Allow custom boot splash for UefiPayloadPkg

    Allow a custom boot splash to be used with UefiPayloadPkg:
    - remove Kconfig guards restricting to CorebootPayloadPkg
    - set destination path for logo file based on bootloader selected
    
    Test: build/boot qemu with UefiPayloadPkg with custom boot logo
    
    Change-Id: Ia0a10d1528f516f6b9d3645b83be0fb4e85bc348
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40591
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    MrChromebox committed Apr 28, 2020
    Copy the full SHA
    b4a0ec5 View commit details
    Browse the repository at this point in the history
  7. drivers/intel/gma: put controller in separate header

    Including i915.h just for the GMA/SSDT related functions means
    dragging along all of i915_reg.h as well, which is problematic
    since some platforms (like Apollo Lake) use overlapping symbols.
    To avoid this conflict, break out the GMA/SSDT bits into their
    own header which can be included without conflict.
    
    Change-Id: I73fb7ef01abaafdcdbc44f1e3f5eb1883fc31616
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40592
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    MrChromebox committed Apr 28, 2020
    Copy the full SHA
    168d8a4 View commit details
    Browse the repository at this point in the history
  8. mb/google/octopus: Add VBT for ampton variant

    Add VBT file, extracted from stock Google firmware, and
    select its use via Kconfig.
    
    Change-Id: I256c1c72d1d1e40ea9426fa717bfc4f9c950a91f
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40595
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    MrChromebox committed Apr 28, 2020
    Copy the full SHA
    febe5b8 View commit details
    Browse the repository at this point in the history
  9. mb/google/octopus: add default non-ChromeOS FMAP

    Add a FMAP which supports SMMSTORE and non-ChromeOS payloads,
    since GeminiLake-based devices like Octopus cannot use an
    automatically-generated FMAP due to strict layout requirements.
    
    Change-Id: Iebacbea5b3a782b2abf1d6e28acd21b87dc9402b
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40596
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    MrChromebox committed Apr 28, 2020
    Copy the full SHA
    ec926e0 View commit details
    Browse the repository at this point in the history
  10. soc/baytrail/raminit: Populate SMBIOS type 17 tables

    Populate SMBIOS type 17 tables using data from SPD and read via IOSF.
    Refactor print_dram_info() to pass thru SPD data and channel/speed info.
    Move call to print_dram_info() after cbmem initialization so the SMBIOS
    data has somewhere to go.
    
    Test: build/boot google/swanky, verify via dmidecode.
    
    Change-Id: I1c12b539c78d095713421b93115a4095f3d4278d
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40643
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    MrChromebox committed Apr 28, 2020
    Copy the full SHA
    8536072 View commit details
    Browse the repository at this point in the history
  11. soc/intel/jasperlake: Add new MCH device ids

    Add new MCH device-ids for jasperlake.
    Reference is taken from jasperlake EDS volume 1 chapter 13.3.
    
    BUG=None
    BRANCH=None
    TEST=code compiles and able to boot the platform.
    
    Change-Id: I38e09579c9a3681e9168c66085cbb3a092dc30cc
    Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40589
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com>
    Reviewed-by: Subrata Banik <subrata.banik@intel.com>
    Reviewed-by: V Sowmya <v.sowmya@intel.com>
    Reviewed-by: Aamir Bohra <aamir.bohra@intel.com>
    Mvvaghel authored and subrata-b committed Apr 28, 2020
    Copy the full SHA
    8745a27 View commit details
    Browse the repository at this point in the history
  12. mb/intel/jasperlake_rvp: Update SMBIOS data for Jslrvp

    1)Change Mainboard Part Number to jslrvp
    2)Change Mainboard Family to Intel_jslrvp
    3)Generate SMBIOS table and fill sku id information in SMBIOS
    
    BUG=None
    BRANCH=None
    TEST=Mosys works on jslrvp and Sku ID info is generated
    
    Change-Id: Iad0b394fea017223a5b98fff0cb4c2bd1d5a7bd7
    Signed-off-by: Meera Ravindranath <meera.ravindranath@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40011
    Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
    Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
    Reviewed-by: Subrata Banik <subrata.banik@intel.com>
    Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    mravindr authored and subrata-b committed Apr 28, 2020
    Copy the full SHA
    979c8c7 View commit details
    Browse the repository at this point in the history
  13. mb/intel/jasperlake_rvp: Configure GPIO for JSLRVP

    We need to configure GSPI related gpios for external EC and TPM.
    Along with GSPI configuring gpios for LAN (power down), FSP_INT
    and PCH_INT.
    
    BUG=None
    BRANCH=None
    TEST=External EC card works and LAN is powered down.
    
    Change-Id: I1f2d32537b56802d0631a94590a6ebe156c5cdd0
    Signed-off-by: Ronak Kanabar <ronak.kanabar@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40362
    Reviewed-by: Aamir Bohra <aamir.bohra@intel.com>
    Reviewed-by: V Sowmya <v.sowmya@intel.com>
    Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    ronakkanabar authored and subrata-b committed Apr 28, 2020
    Copy the full SHA
    d31c150 View commit details
    Browse the repository at this point in the history
  14. 3rdparty/intel-microcode: Update submodule pointer to 20191115 release

    Update submodule pointer to 20191115 release to include the microcode
    update for CML-U62, and others.
    
    Signed-off-by: Felix Singer <felixsinger@posteo.net>
    Change-Id: I4765a70be0b1182acd340a3c31a5d71fd0ab500f
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40597
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    felixsinger authored and i-c-o-n committed Apr 28, 2020
    Copy the full SHA
    d1e0a46 View commit details
    Browse the repository at this point in the history
  15. soc/intel/cometlake: Add ucode from repo

    On Comet Lake, add the following microcode updates from the 3rdparty
    repository:
    - 06-8e-0c (CPUID signature: 0x806ec)
    - 06-a6-00 (CPUID signature: 0xa0660)
    
    Tested with Clevo N141CU.
    
    Signed-off-by: Felix Singer <felixsinger@posteo.net>
    Change-Id: Id10b013df8ce98a4e9830782570e20fbcfad05c1
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40580
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    felixsinger authored and i-c-o-n committed Apr 28, 2020
    Copy the full SHA
    007faee View commit details
    Browse the repository at this point in the history
  16. soc/intel/cannonlake: Report driver strength by _DSM in eMMC ACPI device

    According to doc 621880, it suggests setting 40 ohm in byte 185 in extCSD.
    
    This commit provides _DSM method for driver to query driving strength.
    
    TEST=mmc extcsd read |grep HS_TIMING and found bit[7:4] is set to 4
    BUG=b:154159888
    
    Signed-off-by: Kane Chen <kane.chen@intel.com>
    Change-Id: I1b4df8b0d1d2cad3a7f521ad47ee5a4b3320c767
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40467
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    kaneche1 authored and Tim Wawrzynczak committed Apr 28, 2020
    Copy the full SHA
    d2b2be3 View commit details
    Browse the repository at this point in the history
  17. soc/intel/common/block/smbus: Set SPD array NULL if no DIMM present

    Set SPD array NULL if no DIMM present. do_smbus_read_byte returns
    negative value if SMBus transaction fails.
    
    BUG=b:154445630,b:151702387
    TEST=Check SPD is NULL if no DIMM in the slot.
    
    Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
    Change-Id: Ie81adbfab5bb1d5c557fe549a158cb68e26b1162
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40558
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    EricRLai authored and Tim Wawrzynczak committed Apr 28, 2020
    Copy the full SHA
    0ee9b14 View commit details
    Browse the repository at this point in the history
  18. mb/google/deltaur: Enable PS/2 keyboard

    By default, the ACPI status method _STA returns false for the PS/2
    keyboard and mouse device of the Wilco EC, so the OS does not enable it.
    Enable these devices, by defining the macro SIO_EC_ENABLE_PS2K.
    
    BUG=b:154790509
    TEST=Check Keyboard is functional under OS.
    
    Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
    Change-Id: I31c74ddb3608589e5a4753c7e487f250b112bb1e
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40745
    Reviewed-by: Ivy Jian <ivy_jian@compal.corp-partner.google.com>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    EricRLai authored and Tim Wawrzynczak committed Apr 28, 2020
    Copy the full SHA
    c486c78 View commit details
    Browse the repository at this point in the history
  19. mb/google/deltaur: Change H1 I2C speed to STANDARD

    Currently, Deltaur’s I2C speed has not been tuned yet, so slow down
    the H1 I2C to avoid I2C error for short term.
    
    Error logs:
    Reading cr50 TPM mode
    I2C receive timeout
    I2C read failed: bus 3 addr 0x50
    
    BUG=b:154310066
    TEST=Check H1 has no I2C error occurring and can be updated by gsctool.
    
    Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
    Change-Id: I85a63c1ab9a51d254873377a36d56823af11f0a9
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40644
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    EricRLai authored and Tim Wawrzynczak committed Apr 28, 2020
    Copy the full SHA
    5b574e1 View commit details
    Browse the repository at this point in the history
  20. mb/google/deltaur: Disable POWER_OFF_ON_CR50_UPDATE

    This is missing configuration of Wiloc projects.
    Following Wilco projects configuration. CB:32436
    
    The power architecture on this platform is different than most of our
    other x86 devices and needs some special handling to ensure it powers
    up again after an EC reset.
    
    BUG=b:150165131
    
    Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
    Change-Id: I6da89de9401793a4e5c56a23c1018527819718cf
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40663
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    EricRLai authored and Tim Wawrzynczak committed Apr 28, 2020
    Copy the full SHA
    ef0cb90 View commit details
    Browse the repository at this point in the history
  21. arch/x86/acpi_device: Add a helper function to write PCI device

    This change adds a helper function to write a PCI device with _ADR
    and _STA defined for it.
    
    BUG=b:153858769
    
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Change-Id: I932af917d91198876fe8e90af9bb7a2531bd8960
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40674
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    d1130af View commit details
    Browse the repository at this point in the history
  22. soc/amd: Update macro name for IOMMU on AMD Family 17h

    IOMMU for AMD Family 17h Model 10-20h uses the same PCI device ID
    0x15D1. This change updates the name to indicate that the PCI device
    ID is supported for FP5(Model 18h) and FT5(Model 20h).
    
    BUG=b:153858769
    BRANCH=None
    TEST=Trembyle and dalboz still build.
    
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Change-Id: I17c782000ed525075a3e438ed820a22d9af61a26
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40672
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    590bdc6 View commit details
    Browse the repository at this point in the history
  23. amd/family17h: Add PCI device IDs for all controllers in AMD Family17h

    This change adds all the missing PCI device IDs for AMD Family
    17h. IDs that were already present are updated to include _FAM17H_ in
    the name instead of _PCO_ and _DALI_. This ensures that the PCI IDs
    match the family and models as per the PPR. In cases where the
    controller is present only on certain models, _MODEL##H_ is also
    included in the name.
    
    BUG=b:153858769
    BRANCH=None
    TEST=Verified that trembyle and dalboz still build.
    
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Change-Id: Ia767d32ec22f5e58827e7531c0d3d3bac90d3425
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40673
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    a1cd7eb View commit details
    Browse the repository at this point in the history
  24. soc/amd/common: Add a common graphics block device driver for AMD SoCs

    This change adds a common graphics block device driver for AMD
    SoCs. In follow-up CLs, this driver will be utilized for Picasso.
    
    This driver is added to enable ACPI name and SSDT generation for
    graphics controller.
    
    BUG=b:153858769
    
    Change-Id: I45e2b98fede41e49158d9ff9f93785a34c392c22
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40675
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    c82aabc View commit details
    Browse the repository at this point in the history
  25. soc/amd/picasso: Use common block graphics driver

    This change selects common block graphics driver for Picasso and also
    adds PCI ID for Family 17h graphics controller to the graphics
    driver.
    
    Since the common driver provides .acpi_name() callback for graphics
    device, soc_acpi_name() no longer needs to provide the ACPI name for
    graphics device.
    
    BUG=b:153858769
    
    Change-Id: Id3ffcb05d8f8a253a0b27407d52d7907c507cabb
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40676
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    9e1a49c View commit details
    Browse the repository at this point in the history
  26. soc/amd/{common,picasso}: Move GFX device from static ASL to SSDT

    This change:
    1. Adds PCI device for graphics controller in ACPI SSDT tables using
    acpi_device_write_pci_dev().
    2. Gets rid of IGFX device from picasso acpi/northbridge.asl.
    
    This makes it easier to ensure that we don't accidentally
    make the DSDT and SSDT entries inconsistent w.r.t. ACPI name and
    scope.
    
    BUG=b:153858769
    
    Change-Id: I3a967cdc43b74f786e645d3fb666506070851a99
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40677
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    f939df7 View commit details
    Browse the repository at this point in the history
  27. device: Constify struct device * parameter to write_acpi_tables

    .write_acpi_tables() should not be updating the device structure. This
    change makes the struct device * argument to it as const.
    
    Change-Id: I50d013e83a404e0a0e3837ca16fa75c7eaa0e14a
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40701
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    0f007d8 View commit details
    Browse the repository at this point in the history
  28. arch/x86/acpi_device: Constify struct device * parameter to UID funct…

    …ions
    
    acpi_device_uid() and acpi_device_write_uid() do not need to make
    changes to the device structure. Thus, this change marks struct
    device * parameter to these functions as const.
    
    Change-Id: I3755223766c78f93c57ac80caf392985cfd5c5e5
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40702
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    d14d03a View commit details
    Browse the repository at this point in the history
  29. device: Constify struct device * parameter to dev_name

    dev_name() does not need to modify the device structure. Hence, this
    change makes the struct device * parameter to dev_name() as const.
    
    Change-Id: I6a94394385e45fd76f68218bf57914bddd2e2121
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40703
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    5b5c233 View commit details
    Browse the repository at this point in the history
  30. i2c/designware: Constify struct device * parameter to dw_i2c_soc_dev_…

    …to_bus
    
    dw_i2c_soc_dev_to_bus() does not need to modify the device
    structure. Thus, this change makes the struct device * parameter to
    dw_i2c_soc_dev_to_bus as const.
    
    Change-Id: Ibf5c8d8127dff2ab2ccbd1f6b4f553e98e81955f
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40704
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    00296ea View commit details
    Browse the repository at this point in the history
  31. drivers/ipmi: Add uid parameter to struct drivers_ipmi_config

    This change adds uid parameter to drivers_ipmi_config that can be used
    by ipmi_ssdt() to store the uid value to be used by
    ipmi_write_acpi_tables. This allows to remove the requirement in
    ipmi_ssdt() to update dev->command. This is being done in preparation
    to make the struct device * parameter to fill_ssdt as const.
    
    Change-Id: Ieb41771c75aae902191bba5d220796e6c343f8e0
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40705
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    0f6e652 View commit details
    Browse the repository at this point in the history
  32. ec/lenovo/h8: Constify struct device * parameter to h8_has_* functions

    h8_has_bdc() and h8_has_wwan() do not need to modify the device
    structure. Hence, this change makes the struct device * parameter to
    these functions as const.
    
    This is being done in preparation to make struct device * parameter to
    fill_ssdt as const.
    
    Change-Id: Id3d65d2de7b5161b0e7cff26055c00d5dae967dc
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40706
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    4fc17b4 View commit details
    Browse the repository at this point in the history
  33. drivers/i2c: Constify struct device * param to i2c fill ssdt callback

    This change makes the struct device * param to callback function
    called by i2c_generic_fill_ssdt() as const. This is in preparation to
    make struct device * param to fill_ssdt as const.
    
    Change-Id: I7556b672a7b0172ded44747af394f5b32b6209aa
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40707
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    8220c4b View commit details
    Browse the repository at this point in the history
  34. soc/intel: Constify struct device *param to sd_fill_soc_gpio_info

    sd_fill_soc_gpio_info() does not need to modify device
    structure. Hence, this change makes the struct device * parameter to
    this function as const.
    
    Change-Id: I237ee9640ec64061aa9ed7c65ea21740c40b6ae2
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40708
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    3b54fdf View commit details
    Browse the repository at this point in the history
  35. soc/intel: Constify struct device * parameter to intel_igd_get_contro…

    …ller_info
    
    intel_igd_get_controller_info() does not need to modify the device
    structure. Hence, this change makes the struct device * parameter to
    intel_igd_get_controller_info() as const.
    
    Change-Id: Ic044a80e3e2c45af6824a23f3cd0b08b94c0f279
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40709
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    ec3dafd View commit details
    Browse the repository at this point in the history
  36. device: Constify struct device * parameter to acpi_fill_ssdt()

    .acpi_fill_ssdt() does not need to modify the device structure. This
    change makes the struct device * parameter to acpi_fill_ssdt() as
    const.
    
    Change-Id: I110f4c67c3b6671c9ac0a82e02609902a8ee5d5c
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40710
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    7536a39 View commit details
    Browse the repository at this point in the history
  37. device: Constify struct device * parameter to acpi_inject_dsdt

    .acpi_inject_dsdt() does not need to modify the device
    structure. Hence, this change makes the struct device * parameter to
    acpi_inject_dsdt as const.
    
    Change-Id: I3b096d9a5a9d649193e32ea686d5de9f78124997
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40711
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    furquan-goog committed Apr 28, 2020
    Copy the full SHA
    338fd9a View commit details
    Browse the repository at this point in the history
  38. vboot: Always build secdata functions for romstage

    Since CB:40389, all platforms with CONFIG_VBOOT_EARLY_EC_SYNC need to
    write back secdata in romstage. Those platforms currently all happen to
    have CONFIG_VBOOT_SEPARATE_VERSTAGE set as well, but there's no official
    dependency between those options. Change the Makefile to unconditionally
    build the secdata access routines for romstage so that this would work
    on other platforms as well.
    
    Signed-off-by: Julius Werner <jwerner@chromium.org>
    Change-Id: I0b3c79e9bb8af9d09ef91f5749953ca109dd2a40
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40760
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    jwerner-chromium committed Apr 28, 2020
    Copy the full SHA
    f0ebaf2 View commit details
    Browse the repository at this point in the history
  39. soc/intel/tigerlake: fix call to print_spd_info()

    Pointer passed to print_spd_info() from meminit.c needs to be
    dereferenced first, so this change dereferences it.
    
    BUG=b:154352883
    TEST="emerge-volteer coreboot chromeos-bootimage", flash and boot
    volteer, login to kernel and execute the following cbmem command:
      localhost ~ # cbmem -c | grep LPDDR4X
    and verify it returns "SPD: module type is LPDDR4X"
    
    Change-Id: I5ff64121f0d50947c4946e9e02460dfb7319d01a
    Signed-off-by: Nick Vaccaro <nvaccaro@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40496
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
    NickVaccaro committed Apr 28, 2020
    Copy the full SHA
    029b543 View commit details
    Browse the repository at this point in the history
  40. mb/google/volteer: implement mainboard_get_dram_part_num()

    Implements mainboard_get_dram_part_num() to override dram part number
    with a part number read from CBI.
    
    BUG=b:146464098
    TEST="emerge-volteer coreboot chromeos-bootimage", flash volteer, boot
    and log into kernel, execute "mosys memory spd print id" and verify that
    the memory part number from the cbi gets displayed properly.
    
    Change-Id: I3a20691f601cb513ee0936c8d141233c3d06db3d
    Signed-off-by: Nick Vaccaro <nvaccaro@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40472
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
    NickVaccaro committed Apr 28, 2020
    Copy the full SHA
    1463c56 View commit details
    Browse the repository at this point in the history
  41. mb/google/volteer: move mipi_camera.asl to variants folders

    Moves mipi_camera.asl from mb/google/volteer/acpi/ to
    mb/google/volteer/variant/baseboard/include/baseboard/acpi/.
    
    Adds mipi_camera.asl to variant/[volteer|ripto]/include/acpi/.
    
    Adds new VARIANT_HAS_MIPI_CAMERA Kconfig option.
    
    Adds VARIANT_HAS_MIPI_CAMERA for volteer and ripto variants.
    
    BUG=b:154648941, b:154646959
    TEST="emerge-volteer coreboot chromeos-bootimage", flash and boot
    Ripto and Volteer to kernel.
    
    Change-Id: I2f28243dfb945857d26f27f07968a15a3eeb7a4f
    Signed-off-by: Nick Vaccaro <nvaccaro@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/40578
    Reviewed-by: William Wei <wenxu.wei@bitland.corp-partner.google.com>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    NickVaccaro committed Apr 28, 2020
    Copy the full SHA
    c97bb64 View commit details
    Browse the repository at this point in the history