Commits on Mar 27, 2020

  1. vc/amd/fsp/picasso: Add PCIe and DDI helpers

    Add a file for generating PCIe and DDI descriptors that will be
    understandable to the FSP.
    
    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Change-Id: Iaa4d81a0f2909cb66e551e34e1f3fa4725560d60
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38698
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    marshall-dawson authored and felixheld committed Mar 27, 2020
    Copy the full SHA
    f0619f4 View commit details
    Browse the repository at this point in the history
  2. amdfwtool: Allow for up to 16 APCB entries

    Increase the number of allowed APCB entries in amdfwtool.
    
    BUG=b:150455865
    TEST=Boot Trembyle
    BRANCH=None
    
    Signed-off-by: Rob Barnes <robbarnes@google.com>
    Change-Id: Ibdd2f2b9766735bc9aba98b5216e589b6cace238
    Reviewed-on: https://chromium-review.googlesource.com/2084944
    Reviewed-by: Matt Papageorge <matt.papageorge@amd.corp-partner.google.com>
    Reviewed-by: Raul E Rangel <rrangel@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39861
    Reviewed-by: Matt Papageorge <matthewpapa07@gmail.com>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    rbbrns authored and felixheld committed Mar 27, 2020
    Copy the full SHA
    18fd26c View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2020

  1. soc/intel/jasperlake: Add Jasper Lake SoC support

    This is a copy patch from Tiger Lake SoC code.
    
    The only changes done on top of copy is changing below configs:
    1. SOC_INTEL_TIGERLAKE -> SOC_INTEL_TIGERLAKE_COPY
    2. SOC_INTEL_JASPERLAKE -> SOC_INTEL_JASPERLAKE_COPY
    3. SOC_INTEL_TIGERLAKE_BASE -> SOC_INTEL_TIGERLAKE_BASE_COPY
    
    We started with initial assumption that JSL and TGL can co-exist.
    But now we see the SoC code in Tiger Lake is relying on too many
    compile-time directives to make two SoCs co-exist. Some of the
    differences are listed below:
    
    -> Kconfig: Multiple Kconfig options using
       if SOC_INTEL_{TIGERLAKE/JASPERLAKE}
    
    -> GPIO: GPIO communities have their own differences.
       This requires conditional checks in gpio.asl, gpio.c, gpio*.h,
       pmc.h and gpio.asl
    
    -> PCI IRQs: Set up differently for JSL and TGL
    
    -> PCIe: Number of Root ports differ.
    
    -> eMMC/SD: Only supported on JSL.
    
    -> USB: Number of USB port are different for JSL and TGL.
    
    -> Memory configuration parameters are different for JSL and TGL.
    
    -> FSP parameters for JSL and TGL are different.
    
    The split of JSL and TGL SoC code is planned as below:
    
    1. Copy Tiger Lake SoC code as is, and change SoC Kconfig
       to avoid conflicts with current mainboard builds.
    
    2. Clean up TGL code out of copy patch done in step 1.
       Make it JSL only code. The SoC config still kept as
       SOC_INTEL_JASPERLAKE_COPY.
    
    3. Change JSL SOC Kconfig from SOC_INTEL_JASPERLAKE_COPY to
       SOC_INTEL_JASPERLAKE, dedede and jasperlake_rvp boards can
       bind to SoC code from soc/intel/jasperlake. This step establishes
       Jasper Lake as a separate SoC.
    
    4. Clean up current JSL code from TGL code. This step establishes
       Tiger Lake as a separate SoC.
    
    BUG=b:150217037
    
    Change-Id: I9c33f478a2f8ed5e2d8e7815821d13044d35d388
    Signed-off-by: Aamir Bohra <aamir.bohra@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39823
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Subrata Banik <subrata.banik@intel.com>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
    aamirbohra authored and subrata-b committed Mar 28, 2020
    Copy the full SHA
    dd7acaa View commit details
    Browse the repository at this point in the history
  2. soc/intel/jasperlake: Remove Tiger Lake SoC code from Jasper Lake

    This is a follow-up patch to initial copy patch for Jasper Lake SoC.
    Remove all Tiger Lake specfic code from Jasper Lake SoC code.
    
    BUG=b:150217037
    
    Change-Id: I44dc6bf55ca18a3f0c350f5c3e9fae2996958648
    Signed-off-by: Aamir Bohra <aamir.bohra@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39824
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
    Reviewed-by: Subrata Banik <subrata.banik@intel.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    aamirbohra authored and subrata-b committed Mar 28, 2020
    Copy the full SHA
    512b77a View commit details
    Browse the repository at this point in the history
  3. soc/intel/common: Hook up GMA ACPI brightness controls

    Add framework to hook up the generic src/drivers/intel/gma ACPI
    backlight control for platforms using SOC_INTEL_COMMON_BLOCK_GRAPHICS.
    Add a weak function to get the struct i915_gpu_controller_info needed
    to generate the SSDT, defaulting to NULL, which SoC's will override.
    
    Each SoC will need to override intel_igd_get_controller_info, and
    individual boards will need to populate the struct in order for
    the backlight control methods to be added to the SSDT.
    
    Change-Id: I993770fdcd0a28cee756df2bd6a795498f175952
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/32549
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    MrChromebox authored and i-c-o-n committed Mar 28, 2020
    Copy the full SHA
    1eea1dd View commit details
    Browse the repository at this point in the history
  4. soc/intel/skylake: Hook up GMA ACPI brightness controls

    Add struct i915_gpu_controller_info for boards to supply info needed
    to generate ACPI backlight control SSDT. Hook into soc/common framework
    by implementing intel_igd_get_controller_info().
    
    Change-Id: I70e280e54d78e69a335f9a382261193c593ce430
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39883
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    MrChromebox authored and i-c-o-n committed Mar 28, 2020
    Copy the full SHA
    ddb4cf0 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2020

  1. superio: Replace D1/D2 power states with D3

    Spec says if any object to control the power state exists, at least
    D0 and D3 must be supported. And it seems Windows complains about the
    missing D3 support: https://ticket.coreboot.org/issues/257
    
    Windows reported `*** STOP: 0x000000A5` with the first parameter
    `0x000000000000000D` (refers to a missing ACPI object) and the
    third parameter `0x000000003353505F` which is the name of the
    object in ASCII, little-endian (`_PS3`).
    
    Change-Id: Ifa28a7c56575848e76e4a1c542866413b4c44d50
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Closes: https://ticket.coreboot.org/issues/257
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39746
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    i-c-o-n committed Mar 29, 2020
    Copy the full SHA
    79dfa90 View commit details
    Browse the repository at this point in the history
  2. soc/amd/picasso: Add Kconfig option for chip footprint

    Pollock uses the FT5 footprint, so add the Kconfig option to
    allow us to differentiate the chips.
    
    Change-Id: Ia4663d38f1824786f14b6aa000adf27d64e70b5f
    Signed-off-by: Martin Roth <martinroth@chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/2051509
    Reviewed-by: Martin Roth <martinroth@google.com>
    Reviewed-by: Eric Peers <epeers@google.com>
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39867
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Felix Held authored and felixheld committed Mar 29, 2020
    Copy the full SHA
    8cb5c30 View commit details
    Browse the repository at this point in the history
  3. soc/amd/picasso: Add and use CPUID defines for Picasso and Raven2

    Change-Id: I35a1c404ff2f381d3d6bf4f2e4bbbf5429db38c3
    Signed-off-by: Martin Roth <martinroth@chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/1961485
    Reviewed-on: https://chromium-review.googlesource.com/2060905
    Reviewed-by: Raul E Rangel <rrangel@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39885
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Martin Roth authored and felixheld committed Mar 29, 2020
    Copy the full SHA
    eb30e1a View commit details
    Browse the repository at this point in the history
  4. hatch: Create sushi variant

    Create the sushi variant of the hatch reference
    board by copying the template files to a new directory named
    for the variant.
    
    (Auto-Generated by create_coreboot_variant.sh version 3.0.0).
    
    BUG=None
    BRANCH=None
    TEST=util/abuild/abuild -p none -t google/hatch -x -a
    make sure the build includes GOOGLE_SUSHI
    
    Signed-off-by: Paul Fagerburg <pfagerburg@google.com>
    Change-Id: Ie900d09ff55e695527eafe68a5a75cd4a0b6d340
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39892
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Martin Roth <martinroth@google.com>
    ElectricalPaul authored and Martin Roth committed Mar 29, 2020
    Copy the full SHA
    4554942 View commit details
    Browse the repository at this point in the history
  5. cpu/x86/Makefile.inc: Fix external toolchain build

    The sipi_vector.S just needs to be linked as relocatable
    so there is no need to invoke the compiler.
    
    TEST: BUILD_TIMELESS=1 has the same hashes
    
    Change-Id: I0370f1590a70cffb48c7930f6ae85956b506b09c
    Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/37193
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    ArthurHeymans authored and Martin Roth committed Mar 29, 2020
    Copy the full SHA
    b49e210 View commit details
    Browse the repository at this point in the history
  6. mb/51nb/x210: Fix up USB ports in devicetree

    Add missing port definition for the mSATA/WWAN mPCIe port,
    set OC pin for internal ports to OC_SKIP, fix port
    descrption for mPCIe/WLAN port, remove USB3 definition for
    right type-A port as it is USB2 only.
    
    Test: insert WiFi module into WWAN port, observe BT portion
    detected and functional.
    
    Change-Id: Ie39b99eeb0f605ff07d57c32189fb1f4183713e4
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39808
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    MrChromebox committed Mar 29, 2020
    Copy the full SHA
    6e50849 View commit details
    Browse the repository at this point in the history
  7. mb/google/glados: remove Chrome-EC defaults

    Chrome-EC/PD images for all glados variants need to be built
    from the board-specific branch, not master. Including the default
    board names serves no purpose and requires users to deselect
    the "use built-in EC firmware" in order for the board to build.
    
    Test: build google/chell with defaults
    
    Change-Id: Ic10f11337b85035068cdc4fe8147413e6b7f57ac
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39890
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    MrChromebox committed Mar 29, 2020
    Copy the full SHA
    044b49c View commit details
    Browse the repository at this point in the history
  8. mb/google/cyan: Clean up Kconfig

    Cyan has no VGA BIOS available (at least not publicly), so
    remove related options. Disable SoC serial output by default,
    since no production devices have this exposed, but leave it
    as a user option so it can be selected as needed (eg,
    for use with a Google debug servo).
    
    Change-Id: Ic079a39ca5ad0ac653b52248244b94d4bfbd08a4
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39872
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    MrChromebox committed Mar 29, 2020
    Copy the full SHA
    de349ed View commit details
    Browse the repository at this point in the history
  9. src/device/Kconfig: Adjust Graphics init defaults

    Adjust the defaults for Graphics Initialization so
    that the "best" option for a board is selected by default.
    Net effect is to select RUN_FSP_GOP over VGA_ROM_RUN
    in cases where the platform supports GOP init and the
    mainboard has a VBT file included.
    
    Test: run 'make menuconfig' and check default Display
    Init option for google/cyan, observe RUN_FSP_GOP is default.
    
    Change-Id: I2184dbdd943d035d1682b3ae7bd8d005221434b1
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39871
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    MrChromebox committed Mar 29, 2020
    Copy the full SHA
    8107c81 View commit details
    Browse the repository at this point in the history
  10. nb/intel/haswell: Implement proper backlight PWM config

    Further backport the backlight-PWM handling from Skylake. Beside
    configuring the PWM frequency in Hz, we also use the PCH's logic
    for the brightness setting via BLM_PCH_OVERRIDE_ENABLE. Linux
    would toggle it anyway and that might confuse our ASL code.
    
    We assume that the 183Hz value that was set before for Slippy
    variants was overridden by Linux with the 200Hz VBT value, like
    it was for the Broadwell Chromebooks. So we set 200Hz for them
    in the devicetrees. The calculated value for the T440p of 220Hz
    seems sane and also matches the VBT.
    
    Change-Id: I17dfe1a3610d5e2918c617cf5d10896692fdccb3
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39769
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    i-c-o-n authored and MrChromebox committed Mar 29, 2020
    Copy the full SHA
    c2e4642 View commit details
    Browse the repository at this point in the history
  11. drivers/intel/gma: Drop unused backlight field

    Change-Id: I9d7f8337653f93f40550a3d2886fe7b3845eac69
    Signed-off-by: Nico Huber <nico.huber@secunet.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39879
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    n-huber authored and MrChromebox committed Mar 29, 2020
    Copy the full SHA
    9af0b15 View commit details
    Browse the repository at this point in the history
  12. drivers/intel/gma/acpi: Provide default definition for displays

    Use it wherever the standard numbers were copied to. Bit 31 is set
    at runtime unconditionally, so we don't need it here.
    
    Change-Id: I0d853c3b8250a2c7b2d1a91985a555e4b17ad76c
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39731
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    i-c-o-n committed Mar 29, 2020
    Copy the full SHA
    b0b25c8 View commit details
    Browse the repository at this point in the history
  13. mb/google/glados: disable serial console by default

    Glados boards do not have an exposed serial port outside
    of the servo interface. Set board Kconfig so that a default
    built image with Tianocore payload is bootable and doesn't
    hang due to trying to send data over a non-existant serial port.
    
    Test: build/boot google/chell with board defaults
    
    Change-Id: Ifad6f805e66438e2c436d9fa235d9be2ecf69179
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39863
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    MrChromebox authored and i-c-o-n committed Mar 29, 2020
    Copy the full SHA
    5d841e6 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2020

  1. mb/google/hatch/var/kindred: set wifi sar for kled

    Enable wifi sar feature and set wifi sar name for kled sku.
    
    BUG=b:152277272
    TEST=emerge-hatch coreboot chromeos-bootimage and
         verify wifi SAR load by sku-id
    
    Change-Id: I9ee242773fd05cc2bcd7bde07da8176022827677
    Signed-off-by: David Wu <David_Wu@quanta.corp-partner.google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39813
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
    David Wu authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    1e40a11 View commit details
    Browse the repository at this point in the history
  2. mb/tglrvp: Add GPE configuration

    Update the GPE configuration for dw0, dw1 and dw2.
    
    BUG=None
    TEST=build and boot tglrvp
    
    Change-Id: I8b406bcbd710e84cec91a8c2d1557902e929f7cc
    Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39844
    Reviewed-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com>
    Reviewed-by: Caveh Jalali <caveh@chromium.org>
    Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    shaunakintel authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    d72cca0 View commit details
    Browse the repository at this point in the history
  3. util/sconfig: emit NULL sibling fields

    It's helpful to see the sibling field, even when it's NULL, when
    debugging the static.c output from a devictree.cb file. Ensure the
    NULL fields are emitted for fullness.
    
    Change-Id: Ib6d5b8164769a6512e762d5a525c7df1f429c866
    Signed-off-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39862
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Aaron Durbin authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    d47afe9 View commit details
    Browse the repository at this point in the history
  4. volteer: Create halvor variant

    Create the halvor variant of the volteer reference board by copying the
    template files to a new directory named for the variant.
    
    BUG=b:151399850
    BRANCH=None
    TEST=util/abuild/abuild -p none -t google/volteer -x -a
    make sure the build includes GOOGLE_HALVOR
    
    Signed-off-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
    Change-Id: If4d3417ba55d56af441c99d949a196328d7a1951
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39667
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Caveh Jalali <caveh@chromium.org>
    Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
    Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
    Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
    Frank-Wu-718 authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    bc83738 View commit details
    Browse the repository at this point in the history
  5. soc/intel/tigerlake: Configure IOM_TYPEC_SW_CONFIGURATION_3

    FSP UPD TcssAuxOri is used for setting the IOM_TYPEC_SW_CONFIGURATION_3.
    Configure TcssAuxOri to retimer enabled on the port 2 Type-C port.
    This setting informs the SoC that a retimer is taking care of SBU
    orientation therefore it does not need to do any flipping.
    
    The IOM_TYPEC_SW_CONFIGURATION_3 is a bitfield that controls the aux
    orientation settings for the Type-C ports. The TGL EDS describes this
    setting and what each bit represents.
    
    Reference section 3.6.5 in TGL EDS #575681
    BUG=b:145943811
    BRANCH=none
    TEST=Boot to OS and check Type-C port1 Display on volteer,
    Connecting Type-C display should work regardless of Type-C cable
    orientation.
    
    Change-Id: Iae356113cbdc72983f800060b1ebebe3c66b9daf
    Signed-off-by: Brandon Breitenstein <brandon.breitenstein@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39459
    Reviewed-by: Caveh Jalali <caveh@chromium.org>
    Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
    Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    bkbreite authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    fc93237 View commit details
    Browse the repository at this point in the history
  6. tgl boards: Configure retimer Aux orientation

    In order to create a working baseline all ports are being set to have
    retimers. Setting the TcssAuxOri UPD to 0 in order for the SoC to not
    misconfigure the ports. Volteer will need some additional changes after
    this is implemented to account for ports that do not have a retimer.
    
    This setting is in the process of being documented in the TGL EDS and we
    can update once it is fully understood what this setting is changing on
    the SOC side.
    
    BUG=b:145943811
    BRANCH=none
    TEST=Boot to OS and check Type-C port1 Display on Volteer,
    Connecting Type-c display should work regardless of Type-c cable
    orientation.
    
    Change-Id: I29eb0513299126ad8d1ee11ded2c771f28ad13f3
    Signed-off-by: Brandon Breitenstein <brandon.breitenstein@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39460
    Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    bkbreite authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    91dddd4 View commit details
    Browse the repository at this point in the history
  7. soc/amd/picasso: Add helper functions for finding SOC type

    We're running into more and more situations where we need to tell one
    SOC type from another, and instead of rewriting them every time, just
    add some helper functions to the picasso SOC directory.
    
    Change-Id: I24b73145cdfa80c09fbe036d1fb6079696c6d013
    Signed-off-by: Martin Roth <martinroth@chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/2051514
    Reviewed-on: https://chromium-review.googlesource.com/2060904
    Reviewed-on: https://chromium-review.googlesource.com/2060905
    Reviewed-by: Martin Roth <martinroth@google.com>
    Reviewed-by: Eric Peers <epeers@google.com>
    Reviewed-by: Raul E Rangel <rrangel@chromium.org>
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39886
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Martin Roth authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    97bd2a7 View commit details
    Browse the repository at this point in the history
  8. mb/google/deltaur: add deltaur mainboard initial support

    Created a new Google baseboard using Tiger Lake named deltaur, taking
    volteer as a starting point.
    
    BUG=b:151102807
    TEST=make build successful
    
    Signed-off-by: Bora Guvendik <bora.guvendik@intel.com>
    Change-Id: Ib98f328df22f39e7d9d625a3292954881ee15b15
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39502
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
    bguvendi authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    3a1a037 View commit details
    Browse the repository at this point in the history
  9. mb/google/deltaur: Add initial GPIO configuration

    This configuration sets up all of the GPIO pads for the first rev of
    the board.
    
    BUG=b:150165131
    BRANCH=none
    TEST=util/abuild/abuild -p none -t google/deltaur -x -a
    
    Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Change-Id: I4f6398808809492dcb345ccaa09e199fa35e40cf
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39674
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
    Tim Wawrzynczak authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    d8bff38 View commit details
    Browse the repository at this point in the history
  10. mb/google/deltaur: Provide initial devicetree

    This initial devicetree attempts to correctly configure the status of
    each PCI device. Not all required drivers are instantiated, nor are
    all of the SoC options fully selected yet.
    
    PCIe root ports are enabled and clocks are assigned.
    USB ports are assigned.
    
    BUG=b:150165131
    BRANCH=none
    TEST=util/abuild/abuild -p none -t google/deltaur -x -a
    
    Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Change-Id: I911ec08b0db3647d131113a138fb74a55612fd62
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39678
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
    Tim Wawrzynczak authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    654d9d6 View commit details
    Browse the repository at this point in the history
  11. helpers: Add a helper macro for calculating power of 2

    This change adds a helper macro POWER_OF_2 that is useful for
    calculating the requested power of 2.
    
    Change-Id: Ie70f93b6ac175699c11cae7d8f023a52cce01e88
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39881
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    furquan-goog authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    f79f8b4 View commit details
    Browse the repository at this point in the history
  12. memranges: Change align attribute to be log2 of required alignment

    This change updates the align attribute of memranges to be represented
    as log2 of the required alignment. This makes it consistent with how
    alignment is stored in struct resource as well.
    
    Additionally, since memranges only allow power of 2 alignments, this
    change allows getting rid of checks at runtime and hence failure cases
    for non-power of 2 alignments.
    
    This change also updates the type of align to be unsigned char.
    
    BUG=b:149186922
    
    Signed-off-by: Furquan Shaikh <furquan@google.com>
    Change-Id: Ie4d3868cdff55b2c7908b9b3ccd5f30a5288e62f
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39810
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    furquan-goog authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    1908340 View commit details
    Browse the repository at this point in the history
  13. mb/gigabyte/ga-h61m-s2pv: Correct PCIe port setup

    Coalescing is not needed, as root port #1 is enabled. Also, update the
    comments to look more like the other two variants. Note that the Intel
    H61 PCH only has six root ports, so devices 1c.6 and 1c.7 do not exist.
    
    Change-Id: I3f4bf99ceec6c77f6e1eabea9b712245afee7d34
    Signed-off-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39742
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Th3Fanbus authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    0a9650c View commit details
    Browse the repository at this point in the history
  14. asus/p2b: Transform into variant-enabled structure

    Get ready to squash all the ASUS i440BX boards together.
    
    Change-Id: Ibc9bfa4fc5b582bf658215bda298523e8ee7b36b
    Signed-off-by: Keith Hui <buurin@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38621
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Keith Hui authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    bf7d6f1 View commit details
    Browse the repository at this point in the history
  15. asus/p2b-f: Transform into variant

    TEST=build with BUILD_TIMELESS=1, binary does not change
    
    Change-Id: I56983cabfad574b970aba098a178e691c6b354d1
    Signed-off-by: Keith Hui <buurin@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39902
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Keith Hui authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    7e269ad View commit details
    Browse the repository at this point in the history
  16. mb/lenovo/t530: Switch to overridetree

    Change-Id: I3dfa303b6aae2446fa3a1d67a6e31448277cacdb
    Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/37602
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    lemenkov authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    98b78ef View commit details
    Browse the repository at this point in the history
  17. nb/intel/i945: Make some cosmetic changes

    This will make i945GC and i945GM splitting easier.
    
    Change-Id: I3acc1f526056248f8fbb1778a3c381d369faf020
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39859
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    ElyesH authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    95cdd9f View commit details
    Browse the repository at this point in the history
  18. mb/gigabyte/ga-h61m-*: Use overridetrees

    Make use of overridetrees, as these mainboards are very similar.
    
    Tested on GA-H61MA-D3V, still works fine.
    
    Change-Id: I1b587a091da631cb172eb76722958da6c7518893
    Signed-off-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39668
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Th3Fanbus authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    0c0b16a View commit details
    Browse the repository at this point in the history
  19. mb/gigabyte/ga-h61m-s2pv: rename to ga-h61m-series

    It is not a single mainboard anymore, it's actually three variants.
    
    Change-Id: I66f1239abadd8bf93269d6d4617329dc4b925e8d
    Signed-off-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39743
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    Th3Fanbus authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    991ee05 View commit details
    Browse the repository at this point in the history
  20. soc/intel/{icelake, tigerlake}: Remove DDI A lane programming

    For newer Intel graphics(>=11), The DDI port max lanes are set to 4 by
    default. And kernel driver no longer relies on coreboot to provide
    information via DDI_BUF_CTL_A(for DDI port A) register programming.
    Hence removing this code.
    
    BUG=b:150788968
    BRANCH=None
    TEST=checked jslrvp and tglrvp compilation and boot.
    
    Change-Id: I32692501b60f48a07b8fbb9bb3a755b18f4b3ea9
    Signed-off-by: Ronak Kanabar <ronak.kanabar@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39313
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Aamir Bohra <aamir.bohra@intel.com>
    Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.corp-partner.google.com>
    Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
    Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    ronakkanabar authored and pgeorgi committed Mar 30, 2020
    Copy the full SHA
    e5565c4 View commit details
    Browse the repository at this point in the history
  21. intel/fsp2_0: Make FSP_USE_REPO a SoC opt-in

    For quite a bit now we are extending the FSP_USE_REPO option to be
    available for all Intel SoCs. This results in a list being not only
    hard to maintain but also prone to errors.
    
    To change that behaviour this commit introduces the
    HAVE_INTEL_FSP_REPO config option for SoCs that are supported from within
    3rdparty/fsp.
    
    If a SoC selects HAVE_INTEL_FSP_REPO the config option FSP_USE_REPO is
    selected by default, but can be still deselected by the user in menuconfig.
    
    Change-Id: I68ae373ce591f06073064aa75aac32ceca8fa1cc
    Signed-off-by: Johanna Schander <coreboot@mimoja.de>
    Signed-off-by: Felix Singer <felixsinger@posteo.net>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/37582
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Mimoja authored and i-c-o-n committed Mar 30, 2020
    Copy the full SHA
    8a6e036 View commit details
    Browse the repository at this point in the history
  22. mb/google/kohaku: Add enable_delay_ms for wacom pen

    Add an enable reset delay to avoid messages like this in the
    kernel:
    
    i2c_hid i2c-WCOM50C1:00: failed to change power setting.
    
    This gets rid of all the warnings except one on reboot/shutdown.
    That last case likely isn't fixed because the sleep command is
    being sent directly from i2c_hid_shutdown(), so no ACPI routines
    get to run and provide the delay. Since the machine is going down
    for shutdown/reboot anyway, fixing that last case is a lower
    priority.
    
    BUG=b:145094539
    TEST=Run on kohaku, switch to guest mode and log out, no errors
    
    Signed-off-by: Evan Green <evgreen@chromium.org>
    Change-Id: I8fadf497dd09e5b95b1d74443fb0543d3555dbb8
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39707
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Evan Green authored and furquan-goog committed Mar 30, 2020
    Copy the full SHA
    6b7bbc2 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2020

  1. security/vboot: Decouple measured boot from verified boot

    Currently, those who want to use measured boot implemented within
    vboot should enable verified boot first, along with sections such
    as GBB and RW slots defined with manually written fmd files, even
    if they do not actually want to verify anything.
    
    As discussed in CB:34977, measured boot should be decoupled from
    verified boot and make them two fully independent options. Crypto
    routines necessary for measurement could be reused, and TPM and CRTM
    init should be done somewhere other than vboot_logic_executed() if
    verified boot is not enabled.
    
    In this revision, only TCPA log is initialized during bootblock.
    Before TPM gets set up, digests are not measured into tpm immediately,
    but cached in TCPA log, and measured into determined PCRs right after
    TPM is up.
    
    This change allows those who do not want to use the verified boot
    scheme implemented by vboot as well as its requirement of a more
    complex partition scheme designed for chromeos to make use of the
    measured boot functionality implemented within vboot library to
    measure the boot process.
    
    TODO: Measure MRC Cache somewhere, as MRC Cache has never resided in
    CBFS any more, so it cannot be covered by tspi_measure_cbfs_hook().
    
    Change-Id: I1fb376b4a8b98baffaee4d574937797bba1f8aee
    Signed-off-by: Bill XIE <persmule@hardenedlinux.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/35077
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
    persmule authored and zaolin committed Mar 31, 2020
    Copy the full SHA
    c79e96b View commit details
    Browse the repository at this point in the history
  2. Documentation/mb/lenovo: Test shrunken ME on Ivy Bridge

    Update the Lenovo Ivy Bridge documentation that no issues could be
    observed on W530.
    
    Tested on Lenovo W530 with stripped ME and found no issues:
    commit 93b0c7c
    
    * USB
    * Bluetooth
    * Wifi
    * Wifi-kill switch
    * libgfxinit
    * SATA
    * mSATA
    * Audio
    * SD-card
    * Ethernet
    * Keyboard
    * Fn-Keys
    * Display brightness
    * ACPI S3 resume
    * CPU temperature reporting
    * Stress test stable (intel_pstate no_turbo due to W530 overheating bug)
      * Youtube videos
      * stress -c 8 -m 1 -t 3600
    
    Change-Id: I46d23d41cc6ade5e641a6ddb3f357a6036002edc
    Signed-off-by: Marcello Sylvester Bauer <sylv@sylv.io>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39603
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    sylv-io authored and pgeorgi committed Mar 31, 2020
    Copy the full SHA
    eff1306 View commit details
    Browse the repository at this point in the history
  3. soc/intel/common/block/cse: Add check for CSE enabled

    Exit print_me_fw_version if CSE is disabled.
    
    BUG=N/A
    TEST=tested on facebook monolith
    
    Change-Id: Ie3f1c2a5a7f96371a0da872efc3308850c382ba7
    Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39920
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
    wvervoorn authored and pgeorgi committed Mar 31, 2020
    Copy the full SHA
    8602fb7 View commit details
    Browse the repository at this point in the history
  4. superio/winbond/{w83627hf,w83977tf}: Use macro

    Change-Id: I3ac8dd2ba089970a18b460769dfc3fabf9395709
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39907
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    ElyesH authored and pgeorgi committed Mar 31, 2020
    Copy the full SHA
    cfaf4c7 View commit details
    Browse the repository at this point in the history
  5. mb/google/link: use default GMA display profile

    Link's DID data makes no sense, and ACPI backlight controls don't work
    as a result. Replace them with the default profile used by most/all
    other boards.
    
    Test: build/boot google/link, verify ACPI backlight controls functional
    
    Change-Id: Ia7cb3f10bd3c05ebaf414c17a8f94d2e9b40ae26
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39908
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    MrChromebox authored and pgeorgi committed Mar 31, 2020
    Copy the full SHA
    6269636 View commit details
    Browse the repository at this point in the history
  6. mb/google/link: Use GENERIC_SPD_BIN

    Clean up Link's mainboard dir by putting the SPD files in
    a spd subdirectory like all other/newer boards use, and
    selecting GENERIC_SPD_BIN to include them in the build.
    
    Test: build google/link and verify spd.bin unchanged
    
    Change-Id: I9c2f9f77dbdd6552c5ae1e7a0df2051b9b85badc
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39909
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    MrChromebox authored and pgeorgi committed Mar 31, 2020
    Copy the full SHA
    98f609a View commit details
    Browse the repository at this point in the history
  7. mb/google/slippy: Convert variants to use override devicetree

    Since the variants' devicetrees are almost identical, convert to
    using an overridetree setup for simplicity.
    
    Test: build all slippy variants, compare generated static.c to ensure
    resulting generated contents unchanged (although layout will)
    
    Change-Id: If237fad38a1bccfb8e51edfae3ecb75d05ade240
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39919
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    MrChromebox authored and pgeorgi committed Mar 31, 2020
    Copy the full SHA
    61ba3ac View commit details
    Browse the repository at this point in the history
  8. mb/51nb/x210: restore left USB3 port in devicetree

    Was accidentially removed in 6e50849
    
    Change-Id: I090b6bc8863d17412cb1e23ac816c39f479290c1
    Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/39937
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    MrChromebox authored and pgeorgi committed Mar 31, 2020
    Copy the full SHA
    ea861ce View commit details
    Browse the repository at this point in the history
  9. security/tpm: Include mrc.bin in CRTM if present

    mrc.bin, on platforms where it is present, is code executed on CPU, so
    it should be considered a part of CRTM.
    
    cbfs_locate_file_in_region() is hooked to measurement here too, since
    mrc.bin is loaded with it, and CBFS_TYPE_MRC (the type of mrc.bin) is
    measured to TPM_CRTM_PCR rather than TPM_RUNTIME_DATA_PCR.
    
    TODO: I have heard that SMM is too resource-limited to link with vboot
    library, so currently tspi_measure_cbfs_hook() is masked in SMM.
    Please correct me if I am wrong.
    
    Change-Id: Ib4c3cf47b919864056baf725001ca8a4aaafa110
    Signed-off-by: Bill XIE <persmule@hardenedlinux.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38858
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    persmule authored and zaolin committed Mar 31, 2020
    Copy the full SHA
    bad08c2 View commit details
    Browse the repository at this point in the history