Commits on Jul 22, 2021

  1. mb/siemens/mc_ehl1: Remove display related UPDs from devicetree

    Since mc_ehl1 does not have a display attached nor have a display
    connector available (pure headless design), remove display related
    settings from the devicetree.
    
    Change-Id: Id31c09fcfba15f55eed19134bd0c2fb887bd2478
    Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56453
    Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    wzeh authored and pgeorgi committed Jul 22, 2021
    Copy the full SHA
    9e57ed6 View commit details
    Browse the repository at this point in the history
  2. mb/siemens/mc_ehl1: Adjust USB port settings in devicetree

    There are in total three USB ports that are used on mc_ehl1:
     - Port 1: Type A connector connected to USB2/USB3 port 0
     - Port 2: Type A connector connected to USB2/USB3 port 1
     - Onboard: connected to USB2 port 2
    None of the ports supports overcurrent reporting.
    
    Adjust the appropriate UPDs in devicetree to match the hardware
    configuration.
    
    Change-Id: I220637b8e9f03efccacd0955e82cfc0c7a6f53ee
    Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56454
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    wzeh authored and pgeorgi committed Jul 22, 2021
    Copy the full SHA
    3ee18ce View commit details
    Browse the repository at this point in the history
  3. mb/siemens/mc_ehl1: Adjust PCIe settings in devicetree

    This board does not use CLKREQ-signaling for PCIe, so disable the pin
    assignments. In addition only three clock outputs are used for PCIe,
    therefore disable all others to improve EMI.
    
    Change-Id: I545f890fa55a109df7f44d2c82170874fb769009
    Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56455
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    wzeh authored and pgeorgi committed Jul 22, 2021
    Copy the full SHA
    8dd1a54 View commit details
    Browse the repository at this point in the history
  4. mb/google/dedede/var/cret: Add Wifi SAR for cret

    Add wifi sar for cret.
    
    BUG=b:194163601
    TEST=enable CHROMEOS_WIFI_SAR in config of coreboot,
    emerge-dedede coreboot-private-files-baseboard-dedede coreboot chromeos-bootimage.
    
    Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com>
    Change-Id: Ic2f3dbc5822c1f4b1c935c87295ba9916e0e359e
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56474
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
    Ian Feng authored and felixheld committed Jul 22, 2021
    Copy the full SHA
    ab1d1a0 View commit details
    Browse the repository at this point in the history
  5. Makefile.inc: Replace linker flag -nostartfiles with --nmagic

    While the gcc(1) driver has the `-nostartfiles` option, ld(1), the
    program the coreboot toolchain uses to link the object files, doesn't
    have it.
    
    In binutils before 2.36, this option is interpreted as `-n -o
    startfiles`, in which the `-o` option is overridden by a later `-o`
    option, so only the `-n` option has effect, which is the `--nmagic`
    long option of ld(1). So the correct linker option in this place is
    `--nmagic`.
    
    It is tested that without `--nmagic`, ld can generate a much bigger
    x86_64 romstage, so this option is still needed.
    
    This error is found when trying to update binutils to 2.36 and later
    versions, where ld(1) is unable to disambiguate options and reports an
    error.
    
    Change-Id: I27dc2209abdc6fec866716a252736c5cf236a347
    Signed-off-by: Iru Cai <mytbk920423@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56490
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Martin Roth <martinroth@google.com>
    mytbk authored and pgeorgi committed Jul 22, 2021
    Copy the full SHA
    b90aba4 View commit details
    Browse the repository at this point in the history
  6. mb/siemens/mc_ehl1: Disable power management features for SATA

    Features like DevSLP and Aggressive Link Power Management are not
    supported on this mainboard and are therefore disabled.
    
    Change-Id: I3bc650ea78be8587889fb7abfe7075cd9a122198
    Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56486
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
    wzeh authored and pgeorgi committed Jul 22, 2021
    Copy the full SHA
    7517807 View commit details
    Browse the repository at this point in the history
  7. mb/siemens/mc_ehl1: Adjust I2C bus enablement in devicetree

    This mainboard uses I2C1 and I2C4 buses only. Disable all the others as
    they are not connected at all.
    
    Change-Id: I4743f6ea6b9a9987ad63b60f56ee9a597a08284b
    Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56487
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
    wzeh authored and pgeorgi committed Jul 22, 2021
    Copy the full SHA
    3d0e10f View commit details
    Browse the repository at this point in the history
  8. mb/siemens/mc_ehl1: Disable GSPI in devicetree

    Since this mainboard does not use GSPI at all, disable all GSPI ports.
    
    Change-Id: I60254e9f4047537d86c972151ec9e33552332959
    Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56488
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
    wzeh authored and pgeorgi committed Jul 22, 2021
    Copy the full SHA
    6eca3b7 View commit details
    Browse the repository at this point in the history
  9. drivers/spi: Increase sector number to 14 for Winbond W25Q512NW-IM

    Update proper number of sectors info for winbond W25Q512NW-IM chip
    
    BUG=b:182963902
    TEST=Validated on qualcomm sc7280 development board
    
    Change-Id: I12a22321bb9180e32cd47faa6ac3960ba5b2dfb8
    Signed-off-by: Shaik Sajida Bhanu <sbhanu@codeaurora.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56038
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Reviewed-by: Shelley Chen <shchen@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Shaik Sajida Bhanu authored and jwerner-chromium committed Jul 22, 2021
    Copy the full SHA
    7ce0236 View commit details
    Browse the repository at this point in the history
  10. mb/google/guybrush: Setup EC_IN_RW GPIO and export to payload

    EC_IN_RW_OD signal is routed from Google Security Chip to GPIO_91 in the
    upcoming hardware build. The existing SD_EX_PRSNT signal is dropped in
    the upcoming hardware build because SD7 support is dropped. Export the
    EC_IN_RW GPIO for use by payload.
    
    BUG=None
    TEST=Build and boot to OS in Guybrush. Ensure that the device can boot
    successfully in both recovery and normal mode.
    
    Cq-Depend: chromium:3043702
    Change-Id: I8986ba007a2d899c510be61664d90430b8d2d384
    Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56493
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    karthikr-google committed Jul 22, 2021
    Copy the full SHA
    1b7dac1 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. mb/google/cherry: replace magic numbers by the I2C bus name

    When accessing I2C, we should use the official names (I2Cx)
    instead of magic numbers.
    
    Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
    Change-Id: I17cc4c87f5ad26deeb5e529d1c106b697a53591b
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56504
    Reviewed-by: Hung-Te Lin <hungte@chromium.org>
    Reviewed-by: Yu-Ping Wu <yupingso@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Rex-BC Chen authored and hungte committed Jul 23, 2021
    Copy the full SHA
    97582de View commit details
    Browse the repository at this point in the history
  2. mb/google/veyron: Remove references to EC firmware board names

    Chrome EC is relatively quick with retiring "old" boards from their
    tree so when upreving it, the last veyron in that list that wasn't
    commented out is gone as well.
    
    Change-Id: Ie1ef693c8d0947396ee01e5aa5f40ef36c8a317a
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56430
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    pgeorgi committed Jul 23, 2021
    Copy the full SHA
    4df5779 View commit details
    Browse the repository at this point in the history
  3. drivers/pc80/rtc: Make use of alt-century byte configurable

    This legacy alt-century byte sits amidst CMOS and conflicts many option
    tables. It usually has no meaning to the hardware and needs to be main-
    tained manually. Let's disable its usage by default if the CMOS option
    table is enabled.
    
    Change-Id: Ifba3d77120c2474393ac5e64faac1baeeb58c893
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56214
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
    i-c-o-n committed Jul 23, 2021
    Copy the full SHA
    dee281d View commit details
    Browse the repository at this point in the history
  4. mainboard/up/squared: Add one more DRAM configuration

    Add a new configuration option with more density for
    8GB variants of the up squared board.
    Settings are taken from slimbootloader.
    
    Signed-off-by: Florian Laufenböck <florian@laufenbock.de>
    Change-Id: I217b04be94e913b75e2bac0a4ae1c43f2411a044
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56509
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by:  Felix Singer <felixsinger@posteo.net>
    Florian Laufenböck authored and pgeorgi committed Jul 23, 2021
    Copy the full SHA
    e85b6de View commit details
    Browse the repository at this point in the history
  5. drivers/intel/i210: Set PCI bus master bit only if allowed

    Set the bus master bit only if the global Kconfig switch
    PCI_ALLOW_BUS_MASTER_ANY_DEVICE is enabled. For now the bus master bit
    is needed for i210 because of some old OS drivers that do not set it
    and won't work properly without it.
    
    Change-Id: I6f727e7f513f4320740fbf49e741cea86edb3247
    Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56441
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    wzeh authored and pgeorgi committed Jul 23, 2021
    Copy the full SHA
    35e1fca View commit details
    Browse the repository at this point in the history
  6. mb/siemens/mc_apl{1,2,3,5,6}: Use PCI_ALLOW_BUS_MASTER_ANY_DEVICE

    Use the Kconfig switch PCI_ALLOW_BUS_MASTER_ANY_DEVICE instead of
    PCI_ALLOW_BUS_MASTER to enable PCIe bus master bit as requested in
    CB:56441 during review.
    
    Change-Id: I433dbae0d9b15e41d1d0750298868341ce3d6b46
    Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56502
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    wzeh authored and pgeorgi committed Jul 23, 2021
    Copy the full SHA
    e8fc8f3 View commit details
    Browse the repository at this point in the history
  7. mb/siemens/mc_ehl1: Remove SD-Card card detect GPIO in devicetree

    Since there is no SD card interface on this mainboard do not set the
    card detect GPIO.
    
    Change-Id: Ibe6799c5c540538f97d1726ec16e79f3edbb16fd
    Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56489
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    wzeh authored and pgeorgi committed Jul 23, 2021
    Copy the full SHA
    8c4c572 View commit details
    Browse the repository at this point in the history
  8. mb/siemens/mc_ehl1: Add GPIO configuration

    Provide a valid GPIO configuration based on the mainboard wiring.
    
    Change-Id: I36f0e8292a405b4bac74fbc5fde62e5e414387e7
    Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56519
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    wzeh authored and pgeorgi committed Jul 23, 2021
    Copy the full SHA
    eac687c View commit details
    Browse the repository at this point in the history
  9. build system: Deduplicate symbols in objdump

    New binutils versions automatically resolve references to debug symbol
    files and parse their content as well when objdump'ing data. This leads
    to multiple mentions of symbols, so deduplicate references.
    
    Change-Id: I5d597399c515904313ba36d7aab9178bc0dade14
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56524
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    pgeorgi committed Jul 23, 2021
    Copy the full SHA
    1cfb599 View commit details
    Browse the repository at this point in the history
  10. herobrine: get boardid from GPIO configuration

    Getting boardid information for the different SKU variants
    
    BUG=b:182963902, b:193807794
    TEST=Validated on qualcomm sc7280 development board
    
    Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org>
    Change-Id: I2b7625f9b98563438d1ac20e6f29411ef1058cf4
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/55950
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Shelley Chen <shchen@google.com>
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    Ravi Kumar Bokka authored and Shelley Chen committed Jul 23, 2021
    Copy the full SHA
    12184db View commit details
    Browse the repository at this point in the history
  11. soc/amd/picasso/fch: make sb_clk_output_48Mhz static

    sb_clk_output_48Mhz is only used in fch.c where it is also implemented,
    so no need to have it visible outside of that compilation unit.
    
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Change-Id: I2b0d10ff26bdf54ea791aa66bf400578466d54cf
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56525
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    felixheld committed Jul 23, 2021
    Copy the full SHA
    a754aa6 View commit details
    Browse the repository at this point in the history
  12. soc/amd/picasso/fch: change sb prefix of sb_clk_output_48Mhz to fch

    Picasso has an integrated FCH and no south bridge, so change the sb
    prefix to fch.
    
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Change-Id: I82aed68104ea9570827646c818e100bd7e04d1af
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56526
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    felixheld committed Jul 23, 2021
    Copy the full SHA
    f66e781 View commit details
    Browse the repository at this point in the history
  13. soc/amd/stoneyridge/fch: change sb prefix of sb_clk_output_48Mhz to fch

    Stoneyridge has an integrated FCH and no south bridge, so change the sb
    prefix to fch.
    
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Change-Id: I5154ae1158f864d4a2aca55e6bcce6a742c6afe1
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56527
    Reviewed-by: Raul Rangel <rrangel@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    felixheld committed Jul 23, 2021
    Copy the full SHA
    9a98fc9 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2021

  1. soc/amd/common/block/cpu/mca/mca_common: remove additional newline

    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Change-Id: I49a27eb084b59db455153dd662d564a95940a0ab
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56534
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    felixheld committed Jul 24, 2021
    Copy the full SHA
    0b707b9 View commit details
    Browse the repository at this point in the history
  2. 3rdparty/qc_blobs: Uprev to new HEAD (e96cde2)

    Now that cpucp blobs have landed, need to uprev the qc_blobs.
    
    Change-Id: I62dc410cee7baf5efa5c0406f35ee05a535f49b1
    Signed-off-by: Shelley Chen <shchen@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56574
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Shelley Chen committed Jul 24, 2021
    Copy the full SHA
    eeaf569 View commit details
    Browse the repository at this point in the history
  3. soc/intel/common/block: Add space before comment delimiter

    Update comment section to add space before comment delimiter to
    follow coding style.
    
    Change-Id: I883aeaa9839fa96fd7baf0c771b394409b18ddca
    Signed-off-by: Subrata Banik <subrata.banik@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56547
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    subrata-b committed Jul 24, 2021
    Copy the full SHA
    39b53d9 View commit details
    Browse the repository at this point in the history
  4. include/cpu: Use tab instead of space

    Change-Id: I025c20cbcfcfafddbd72b18bca36165b98db8220
    Signed-off-by: Subrata Banik <subrata.banik@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56548
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    subrata-b committed Jul 24, 2021
    Copy the full SHA
    25429c0 View commit details
    Browse the repository at this point in the history
  5. include/cpu: Remove one space from bitfield macro definition

    This change is to maintain parity with other macro declarations.
    
    Change-Id: I67bf78884adf6bd7faa5bb3afa2c17262c89b770
    Signed-off-by: Subrata Banik <subrata.banik@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56559
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    subrata-b committed Jul 24, 2021
    Copy the full SHA
    9bf4293 View commit details
    Browse the repository at this point in the history
  6. src/drivers/intel/fsp2_0: allow larger FSP 2.0 header

    This is in preparation for migrating EDK2 to more recent version(s). In
    EDK2 repo commit f2cdb268ef appended an additional field to FSP 2.0
    header (FspMultiPhaseSiInitEntryOffset). This increases the length of
    the header from 72 to 76. Instead of checking for exact length check
    reported header length against known minimum length for a given FSP
    version.
    
    BUG=b:180186886
    TEST=build/boot with both header flavors
    Signed-off-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com>
    Change-Id: Ie8422447b2cff0a6c536e13014905ffa15c70586
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56190
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Subrata Banik <subrata.banik@intel.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Nikolai Vyssotski authored and Martin Roth committed Jul 24, 2021
    Copy the full SHA
    3c3d2cf View commit details
    Browse the repository at this point in the history
  7. mb/google/guybrush: Update GPIOs settings

    - The WWAN card was being disabled later than desired.
    - The SD card was never being placed into reset on BoardID 1.
    - Enable Touchscreen power
    - Enable PCIe_RST1 at the same points as PCIe_RST
    - Remove Redundant Bootblock settings
    
    BUG=b:193036827
    TEST=Build & Boot, look at GPIO states through boot process
    
    Signed-off-by: Martin Roth <martinroth@chromium.org>
    Change-Id: I5431da755d98e4ad0b300d01cac562d61db0bc08
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56498
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Matt Papageorge <matthewpapa07@gmail.com>
    Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
    Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
    Martin Roth authored and Martin Roth committed Jul 24, 2021
    Copy the full SHA
    8baa9df View commit details
    Browse the repository at this point in the history
  8. soc/amd/*/chip.h: Correct PSPP Enum Value

    It appears the pspp_policy enum is not the same as the FSP definition
    currently being used. This means that the incorrect PSPP value setting
    would get read by FSP. For Zork programs this meant we actually were
    setting links as DXIO_PSPP_BALANCED instead of DXIO_PSPP_POWERSAVE.
    This change adds DXIO_PSPP_DISABLED as the first enum value to properly
    match the FSP definition and adjusts non AMD Customer Reference Boards
    that reference the enum to still send the same value even though it has
    now change definitions. If we actually want DXIO_PSPP_POWERSAVE for
    those boards that can be adjusted in a future change.
    
    BUG=b:193495634
    TEST=Boot to OS with Majolica and Guybrush and run 10G iperf on wifi
    with other server on local network.
    
    Change-Id: I287b6d3168697793a2ae8d8e68b4ec824f2ca5ef
    Signed-off-by: Matt Papageorge <matthewpapa07@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56463
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
    Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
    matthewpapa07 authored and felixheld committed Jul 24, 2021
    Copy the full SHA
    5a2feed View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2021

  1. soc/amd/common/block/cpu/mca/mcax: add comment about McaXEnable bit

    TEST=Checked on amd/mandolin with PCO APU and google/guybrush with CZN
    APU that the McaXEnable bit is set in the CONFIG registers of all used
    MCAX banks.
    
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Change-Id: Ia4515ba529e758f910d1d135cdce819f83ea0b5c
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56535
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    felixheld committed Jul 25, 2021
    Copy the full SHA
    f070253 View commit details
    Browse the repository at this point in the history
  2. sc7280: Increased CBFS_MCACHE size

    BUG=b:182963902
    TEST=Validated on qualcomm sc7280 development board
    
    Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org>
    Change-Id: I16c41031718e1c3e41d0a128c8b254e2f6f94093
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56196
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Shelley Chen <shchen@google.com>
    Ravi Kumar Bokka authored and Shelley Chen committed Jul 25, 2021
    Copy the full SHA
    6668ae3 View commit details
    Browse the repository at this point in the history
  3. mb/razer/blade_stealth_kbl/Kconfig: Fix up indentation

    Change-Id: I0ffae7408f11f4f517204a0a670845c11b3601a8
    Signed-off-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56549
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
    Reviewed-by:  Felix Singer <felixsinger@posteo.net>
    Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Th3Fanbus authored and c0d3z3r0 committed Jul 25, 2021
    Copy the full SHA
    2f04e03 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. lib/thread: Guard thread_run_until with ENV_RAMSTAGE

    thread_run_until is a ramstage specific API. This change guards the API
    by checking ENV_RAMSTAGE.
    
    BUG=b:179699789
    TEST=Boot guybrush to the OS
    
    Signed-off-by: Raul E Rangel <rrangel@chromium.org>
    Change-Id: I4784942070fd352a48c349f3b65f5a299abf2800
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56529
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Raul E Rangel authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    8c89207 View commit details
    Browse the repository at this point in the history
  2. lib/thread: Add asserts around stack size and alignment

    `cpu_info()` requires that stacks be STACK_SIZE aligned and a power of 2.
    
    BUG=b:179699789
    TEST=Boot guybrush to the OS
    
    Signed-off-by: Raul E Rangel <rrangel@chromium.org>
    Change-Id: I615623f05bfbe2861dcefe5cae66899aec306ba2
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56530
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Raul E Rangel authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    9adf4a6 View commit details
    Browse the repository at this point in the history
  3. soc/amd/common/block/acpi: Extract event logging helpers

    Move the event logging helpers defined in acpi into a separate library.
    This will allow logging power management and GPE events for both S3 and
    Modern Standby. Introduce a single helper acpi_log_events function to
    log both PM and GPE events.
    
    BUG=None
    TEST=Build and boot to OS in Guybrush.
    
    Change-Id: I96df66edfc824eb3db108098a560d33d758f55ba
    Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56360
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
    karthikr-google authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    589ac69 View commit details
    Browse the repository at this point in the history
  4. soc/amd/common/block/pm: Add support for Modern Standby event logging

    Log the GPE and PM1 wake events into the event log using the SMI handler
    platform callback.
    
    BUG=b:186792595, b:186800045
    TEST=Build and boot to OS in Guybrush. Ensure that the wake sources are
    logged into the event logs.
    5 | 2021-07-15 16:26:43 | S0ix Enter
    6 | 2021-07-15 16:26:49 | S0ix Exit
    7 | 2021-07-15 16:26:49 | Wake Source | GPE # | 22   <- Trackpad
    8 | 2021-07-15 16:27:07 | S0ix Enter
    9 | 2021-07-15 16:27:13 | S0ix Exit
    10 | 2021-07-15 16:27:13 | Wake Source | RTC Alarm | 0
    25 | 2021-07-15 16:38:13 | S0ix Enter
    26 | 2021-07-15 16:38:17 | S0ix Exit
    27 | 2021-07-15 16:38:17 | Wake Source | GPE # | 5 <- Fingerprint
    
    Change-Id: Icec6fc03f4871cc46b32886575a7054bc289f4bf
    Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56363
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    karthikr-google authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    b3af9f8 View commit details
    Browse the repository at this point in the history
  5. mb/google/brya: Enable BT offload conditionally

    Currently, BT offload is disabled/enabled unconditionally based on the
    devicetree settings. BT offload uses I2S lines and cannot be enabled
    when a I2S based audio daughter card is active. So we need to enable
    BT offload only while using soundwire based audio daugther card.
    
    BUG=b:175701262
    TEST=Verified BT offload on brya with soundwire audio daughter card
    BT offload enabled
    
    Change-Id: I6a9ad463e13e2cfcfc3b7de5a61a25cdef0641f7
    Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/55180
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    sugnanprabhu authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    22618d9 View commit details
    Browse the repository at this point in the history
  6. mb/google/brya: move the common config to the baseboard

    This patch moves the common config to the Kconfig under
    BOARD_GOOGLE_BASEBOARD_BRYA and removes the redundant config.
    
    BUG=b:191472401
    BRANCH=None
    TEST=build pass
    
    Change-Id: Ie59299dfaba6bb23758d4a4c22a6dbbb4ba6520e
    Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56387
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Zhuohao Lee authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    3b28ab0 View commit details
    Browse the repository at this point in the history
  7. soc/intel/jasperlake: Set xHCI LFPS period sampling off time

    Provide an option to set xHCI LFPS period sampling off time
    (SS_U3_LFPS_PRDC_SAMPLING_OFFTIME_CTRL in JSL EDS revision 2.0).
    If the option is set in the devicetree, the bits[7:4] in
    xHCI MMIO BAR + offset 0x80A4 (PMCTRL_REG) will be updated.
    
    The host will sample LFPS for U3 wake-up detection when suspended, but
    it doesn't sample LFPS at all time due to power management, the
    default xHCI LFPS period sampling off time is 9ms. If the xHCI LFPS
    period sampling off time is not 0ms, the host may miss the
    device-initiated U3 wake-up and causes some kind of race condition for
    U3 wake-up between the host and the device.
    
    BUG=b:187801363, b:191426542
    TEST=build coreboot with xhci_lfps_sampling_offtime_ms and flash
    the image to the device. Run following command to check the bits[7:4]:
    iotools mmio_read32 "XHCI MMIO BAR + 0x80A4"
    
    Signed-off-by: Ben Kao <ben.kao@intel.com>
    Change-Id: I0e13b7f51771dc185a105c5a84a8e377ee4d7d73
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56063
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
    Ben-Kao authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    6eb5253 View commit details
    Browse the repository at this point in the history
  8. mb/asus/p5ql-em: Add default value for gfx_uma_size

    Taken from Asus P5QPL-AM.
    
    Change-Id: If26e98eba5d762d99991bfc06cad1b84e1f430e3
    Signed-off-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56562
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Th3Fanbus authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    0eb3216 View commit details
    Browse the repository at this point in the history
  9. mb/google/dedede/var/cappy2: Generate SPD ID for supported memory parts

    Add supported memory 'K4U6E3S4AA-MGCR' for cappy2
    
    BUG=None
    TEST=Build the cappy2 board.
    
    Signed-off-by: Sunwei Li <lisunwei@huaqin.corp-partner.google.com>
    Change-Id: Ie76a4dca607bb2c3261bbe5478209a43e8430591
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56514
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
    Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
    lisunw authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    7aeb1e6 View commit details
    Browse the repository at this point in the history
  10. soc/nvidia/tegra124: Increase bootblock size

    Verstage even fits in 44K so one can comfortably increase the
    bootblock size. This is need for the followup patches that turn
    console methods into drivers, which increase the bootblock a little,
    but still too much for the the bootblock to fit in the alloted size on
    this platform.
    
    Change-Id: If1eaf2b495e3032d156433fd0728134a66f4e49b
    Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56521
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    ArthurHeymans authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    a1509d4 View commit details
    Browse the repository at this point in the history
  11. mb/google/dedede/var/pirika: Add USB2 PHY parameters

    This change adds fine-tuned USB2 PHY parameters for pirika.
    
    BUG=192601233
    TEST=Built and verified USB2 eye diagram test result
    
    Signed-off-by: Alex1 Kao <alex1_kao@pegatron.corp-partner.google.com>
    Change-Id: Icf9fb41cd0ae40728e4ec5bd72a15ec3c45c963b
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56327
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Kirk Wang <kirk_wang@pegatron.corp-partner.google.com>
    Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
    Alex1 Kao authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    9b6a3a0 View commit details
    Browse the repository at this point in the history
  12. soc/intel/common/block/gpio: Add support to program VCCIO selection

    Some of the Intel SoCs with more than 2 PAD configuration registers
    support programming VCCIO selection. Add a pad configuration macro to
    program VCCIO selection when the GPIO is an output pin.
    
    BUG=b:194120188
    TEST=Build and boot to OS in Gallop. Ensure that the VCCIO selection is
    configured as expected and probing the GPIO reads the configured
    voltage.
    
    Change-Id: Icda33b3cc84f42ab87ca174b1fe12a5fa2184061
    Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56507
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    karthikr-google authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    4c569b5 View commit details
    Browse the repository at this point in the history
  13. soc/intel/jasperlake: Enable support to program VCCIO selection

    Jasperlake is one of the few SoCs that support programmable VCCIO
    selection and this support is used by Dedede mainboard.
    
    BUG=b:194120188
    TEST=Build and boot to OS in Gallop. Ensure that the VCCIO selection is
    configured as expected and probing the GPIO reads the configured
    voltage.
    
    Change-Id: I54def27a499ccba7fd25cab1048fdca06dbc535f
    Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56536
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    karthikr-google authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    16f2c50 View commit details
    Browse the repository at this point in the history
  14. mb/google/dedede: Program VCCIO selection for EN_SPKR GPIO

    Realtek speaker amplifiers under auto mode operation have Absolute Max
    Rating (AMR) at 1.98 V. Hence probe the firmware config for speaker
    amplifier and program the VCCIOSEL accordingly.
    
    BUG=b:194120188
    TEST=Build and boot to OS in Gallop. Ensure that the VCCIO selection is
    configured as expected and probing the GPIO reads the configured
    voltage.
    
    Change-Id: Ifa0b272c23bc70d9b0b23f9cc9222d875cd24921
    Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56508
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Evan Green <evgreen@chromium.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    karthikr-google authored and wzeh committed Jul 26, 2021
    Copy the full SHA
    ce79cee View commit details
    Browse the repository at this point in the history
  15. vboot/secdata_tpm: Add WRITE_STCLEAR attr to RW ARB spaces

    It can be nice to update the TPM firmware without having to clear the
    TPM owner.  However, in order to do so would require platformHierarchy
    to be enabled which would leave the kernel antirollback space a bit
    vulnerable.  To protect the kernel antirollback space from being written
    to by the OS, we can use the WriteLock command.  In order to do so we
    need to add the WRITE_STCLEAR TPM attribute.
    
    This commit adds the WRITE_STCLEAR TPM attribute to the rw antirollback
    spaces.  This includes the kernel antirollback space along with the MRC
    space.  When an STCLEAR attribute is set, this indicates that the TPM
    object will need to be reloaded after any TPM Startup (CLEAR).
    
    BUG=b:186029006
    BRANCH=None
    TEST=Build and flash a chromebook with no kernel antirollback space set
    up, boot to Chrome OS, run `tpm_manager_client get_space_info
    --index=0x1007` and verify that the WRITE_STCLEAR attribute is present.
    Signed-off-by: Aseda Aboagye <aaboagye@google.com>
    Change-Id: I3181b4c18acd908e924ad858b677e891312423fe
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56358
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Aseda Aboagye authored and pgeorgi committed Jul 26, 2021
    Copy the full SHA
    b9d94ec View commit details
    Browse the repository at this point in the history
  16. lib/thread,arch/x86: Move thread stacks into C bss

    There is no reason this needs to be done in asm. It also allows
    different stages to use threads. If threads are no used in a specific
    stage, the compiler will garbage collect the space.
    
    BUG=b:179699789
    TEST=Boot guybrush to the OS
    
    Suggested-by: Julius Werner <jwerner@chromium.org>
    Signed-off-by: Raul E Rangel <rrangel@chromium.org>
    Change-Id: Ib5a84a62fdc75db8ef0358ae16ff69c20cbafd5f
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/56531
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Raul E Rangel authored and pgeorgi committed Jul 26, 2021
    Copy the full SHA
    7db7ee9 View commit details
    Browse the repository at this point in the history