Commits on Jan 28, 2020

  1. drivers/spi/spi_flash: remove spi flash names

    The names of each spi flash cause quite a bit of bloat in the text
    size of each stage/program. Remove the name entirely from spi flash
    in order to reduce overhead. In order to pack space as closely as
    possible the previous 32-bit id and mask were split into 2 16-bit
    ids and masks.
    
    On Chrome OS build of Aleena there's a savings of >2.21KiB in each
    of verstage, romstage, and ramstage.
    
    Change-Id: Ie98f7e1c7d116c5d7b4bf78605f62fee89dee0a5
    Signed-off-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38380
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Aaron Durbin committed Jan 28, 2020
    Copy the full SHA
    fc7b953 View commit details
    Browse the repository at this point in the history
  2. mb/google/fizz/variants/endeavour: Enable root ports for TPUs

    BUG=b:148221635
    TEST=build;install;lspci
    
    Change-Id: I1732f7fe64ace41a721a2d6a964988efc97b2579
    Signed-off-by: Jeff Chase <jnchase@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38550
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    jeffchase authored and pgeorgi committed Jan 28, 2020
    Copy the full SHA
    4b1bfe6 View commit details
    Browse the repository at this point in the history
  3. mb/google/dedede: Add helper functions to get board_info

    Add helper functions to get board's sku_id and fw_config. Enable
    EC_GOOGLE_CHROMEEC_BOARDID to get board_id. Add board's SKU ID and
    OEM name into SMBIOS table.
    
    BUG=b:144768001
    TEST=Build Test.
    
    Change-Id: Id1729e245accf5acc29307a22721362fb1ce0878
    Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38551
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    karthikr-google authored and pgeorgi committed Jan 28, 2020
    Copy the full SHA
    23e7361 View commit details
    Browse the repository at this point in the history
  4. mainboard/supermicro/x11-lga1151-series: Disable UART3 and 4

    With UART3 and 4 enabled, the serial console in LinuxBoot crashes. This
    is a short-term solution until we found and fixed the original bug.
    
    Change-Id: I75cb387ef12944232b51f6d8d41810bb27754b05
    Signed-off-by: Christian Walter <christian.walter@9elements.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38404
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Michael Niewöhner
    walterchris authored and pgeorgi committed Jan 28, 2020
    Copy the full SHA
    61657c2 View commit details
    Browse the repository at this point in the history
  5. soc/intel/tigerlake: Enable DP ports according to board design

    BUG=none
    BRANCH=none
    TEST=Build and boot tigerlake rvp board and check FSP log or DP port pin mux
    from pinctl driver.
    
    Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com>
    Change-Id: Ia6e9271a11a1f9e6f98923772219ccc1e7daecda
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38528
    Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    wonkyuki authored and pgeorgi committed Jan 28, 2020
    Copy the full SHA
    9f2e3ad View commit details
    Browse the repository at this point in the history
  6. mb/intel/tglrvp: Enable DP ports for TGLRVP

    TGLRVP uses DdiPort1Hpd and DdiPort1Ddc. So only enable them.
    
    BUG=none
    BRANCH=none
    TEST=Build and boot tigerlake rvp board and check FSP log or DP port pin mux
    from pinctl driver.
    
    Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com>
    Change-Id: Ief6376ba59c77340e272923958b6b5f0a1456d9b
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38529
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    wonkyuki authored and pgeorgi committed Jan 28, 2020
    Copy the full SHA
    46cef44 View commit details
    Browse the repository at this point in the history
  7. mb/lenovo: Remove unnecessary whitespace in comments

    This makes diff between boards even smaller in some cases.
    
    Change-Id: I42ecaf5de657275708ddaf2c926fe31fe16a7220
    Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38515
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    lemenkov authored and pgeorgi committed Jan 28, 2020
    Copy the full SHA
    6b7d40a View commit details
    Browse the repository at this point in the history
  8. autoport: Don't add useless whitespace in comments

    Change-Id: Ie6c94c0627743f9e965347ecfd28f1b0441178ad
    Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38516
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    lemenkov authored and pgeorgi committed Jan 28, 2020
    Copy the full SHA
    71a7ca7 View commit details
    Browse the repository at this point in the history
  9. mb/hp/pavilion_m6_1035dx: Fix typos

    Change-Id: Ibd6f6bf7983382901a5327121d277606f609eca4
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38365
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    ElyesH authored and pgeorgi committed Jan 28, 2020
    Copy the full SHA
    291e88a View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

  1. nb/intel/i945: Use boot path macros

    Change-Id: I932bd0cb97507fa159d1fe3cf2335beb31ca1caf
    Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38597
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    paulepanter authored and pgeorgi committed Jan 29, 2020
    Copy the full SHA
    e0cd2eb View commit details
    Browse the repository at this point in the history
  2. mb/intel/tglrvp: pin mux for image clocks

    pin mux for IMGCLKOUT_0 and IMGCLKOUT_1
    
    BUG=none
    BRANCH=none
    TEST=Build and boot to OS and check pinctl driver to check pin mux for
    Image clocks pins(GPP_D4, GPP_H20)
    
    Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com>
    Change-Id: Ifb0c2b17dd481ef6c19bdf9ee84f47ef08d7b9a1
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38563
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
    wonkyuki authored and pgeorgi committed Jan 29, 2020
    Copy the full SHA
    03b2035 View commit details
    Browse the repository at this point in the history
  3. soc/intel/tigerlake: Disable image clocks

    TGL FSP does just pin mux for image clock pins by UPD and image clocks
    are controlled by ACPI(camera_clock_ctl.asl) under tigerlake SOC folder.
    Disable image clocks by UPD for bypassing FSP pin mux and do pin mux
    in gpio.c according to board design.
    
    BUG=none
    BRANCH=none
    TEST=Build and boot to OS
    
    Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com>
    Change-Id: I5aba5b2fb6deee231e3ec34c8dbc9972b01041f2
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38562
    Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    wonkyuki authored and pgeorgi committed Jan 29, 2020
    Copy the full SHA
    c332a47 View commit details
    Browse the repository at this point in the history
  4. mb/intel/kblrvp: Replace whitespaces with tabs in dsdt.asl

    Change-Id: I66e2cfd041f9a93668e41d79c40cec9cb1bd917e
    Signed-off-by: Subrata Banik <subrata.banik@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38589
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: V Sowmya <v.sowmya@intel.com>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    subrata-b authored and pgeorgi committed Jan 29, 2020
    Copy the full SHA
    272feca View commit details
    Browse the repository at this point in the history
  5. Documentation/mainboard/facebook/monolith.md: Add flash components

    Add description of the procedure to create the flash components for this
    system.
    
    BUG=N/A
    TEST=N/A
    
    Change-Id: I2690dfbe715fa120f840d98c57fdc3fd7e8b45b1
    Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38588
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
    wvervoorn authored and pgeorgi committed Jan 29, 2020
    Copy the full SHA
    c4a7146 View commit details
    Browse the repository at this point in the history
  6. amdblocks/biosram: Do small reformatting

    Remove two blank lines and reorder functions by read/write sizes.
    
    Change-Id: I7bd6ed44546d49b65135a98e424a5669d90f2867
    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38146
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    marshall-dawson authored and miczyg1 committed Jan 29, 2020
    Copy the full SHA
    d5f0b4a View commit details
    Browse the repository at this point in the history
  7. soc/intel/skylake/acpi/dptf: Remove processor throttling controls

    The fwts method test reports errors on the methods implementing
    processor throttling control. The T states are not supported in coreboot
    at this moment.
    
    Remove the methods required by processor throttling control. They can be
    restored when the required support has been added to the SoC
    implementation.
    
    BUG=https://ticket.coreboot.org/issues/252
    TEST=tested using fwts on facebook monolith.
    
    Found-by: fwts 19.12.00
    Change-Id: Ib50607f60cdb2ad03e613d18b40f56a4c4a4c714
    Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38132
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
    wvervoorn authored and i-c-o-n committed Jan 29, 2020
    Copy the full SHA
    06f855c View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2020

  1. amd/pi/00660F01: Add missing domain_acpi_name function

    It's symmetric to the code found in 00730F01 northbridge.
    
    Change-Id: I1ee439213ff128b534f5bf130661d0ae2b9558ab
    Signed-off-by: Jorge Fernandez <jorgefm@cirsa.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/37547
    Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    jorgefm1900 authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    e6111a9 View commit details
    Browse the repository at this point in the history
  2. soc/intel/common/block/lpc: Add CMP-H LPC IDs

    This patch adds CMP-H LPC IDs.
    
    TEST=Build an image and boot with discrete TPM chip.
         Enable measured boot and kernel could get the measured
         data from TPM chip.
    
    Change-Id: I7eac8b0514f79b47a05973210e2472dd1dc3d0ed
    Signed-off-by: Gaggery Tsai <gaggery.tsai@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38251
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    TsaiGaggery authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    b52354b View commit details
    Browse the repository at this point in the history
  3. Documentation/mainboard/facebook/monolith.md: Update to beta status

    Update to reflect the beta status of the code.
    
    BUG=N/A
    TEST=build
    
    Change-Id: I9d1c42d24578c9420569da7e294d5c723da3c772
    Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38607
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    wvervoorn authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    ea4d124 View commit details
    Browse the repository at this point in the history
  4. arch/x86: add acpigen resource support

    Add Word/DWord/QWord Address Space Descriptor helper functions.
    
    Signed-off-by: Jonathan Zhang <jonzhang@fb.com>
    Signed-off-by: Reddy Chagam <anjaneya.chagam@intel.com>
    Change-Id: I707f8a443090b6f30e2940b721f9555ccdf49d32
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38594
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    jonzhang-fb authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    71299c2 View commit details
    Browse the repository at this point in the history
  5. x86/acpi_device: Allow acpi_device_add_power_res params as optional

    Allow for making both reset_gpio && enable_gpio as optional in
    the params by fixing a potential NULL deref and defaulting to
    zero values.
    
    BUG=b:147026979
    BRANCH=none
    TEST=builds
    
    Change-Id: I8053d7a080dfed898400c0994bcea492c826fe3d
    Signed-off-by: Edward O'Callaghan <quasisec@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38522
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    quasisec authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    7e26255 View commit details
    Browse the repository at this point in the history
  6. drivers/net/r8168: Add SSDT Power Resource Methods

    Turns out when going into S0ix we want the kernel to toggle de-assert to 0 for
    the ISOLATE# pin on the NIC for S0ix not to be woken by PCIe traffic on PCH.
    Upon resume the ISOLATE# pin on the NIC is then re-asserted for it to become
    lively again.
    
    V.2: Ensure reset_gpio && enable_gpio are optional.
    
    BUG=b:147026979
    BRANCH=none
    TEST=Boot puff and do 100 cycles of S0ix.
    
    Change-Id: I3ae8dc30f45f55eec23f45e7b5fbc67a4542f87d
    Signed-off-by: Edward O'Callaghan <quasisec@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38494
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    quasisec authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    b765fa6 View commit details
    Browse the repository at this point in the history
  7. mainboard/google/hatch: Fix Puff _PR to toggle NIC ISOLATE# for S0ix

    Turns out when going into S0ix we want the kernel to toggle de-assert to 0 for
    the ISOLATE# pin on the NIC for S0ix not to be woken by PCIe traffic on PCH.
    Upon resume the ISOLATE# pin on the NIC is then re-asserted for it to become
    lively again.
    
    BUG=b:147026979
    BRANCH=none
    TEST=Boot puff and do 1500 cycles of S0ix.
    
    Change-Id: I3470e1edd93b461b66fc6444541a64339bcdcce3
    Signed-off-by: Edward O'Callaghan <quasisec@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38523
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    quasisec authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    38f7db7 View commit details
    Browse the repository at this point in the history
  8. mb: Fix typos in comments in AGESA boards

    Change-Id: I4821c48ccac92f412126cea0f22cca5fd8bf8647
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38609
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Peter Lemenkov <lemenkov@gmail.com>
    ElyesH authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    2cbfadd View commit details
    Browse the repository at this point in the history
  9. AUTHORS: add authors from src/superio

    Change-Id: I6d56380beef7023c60d6fbb47c520ec6f6a7c9db
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38543
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    felixheld authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    8744664 View commit details
    Browse the repository at this point in the history
  10. src/superio: replace license boilerplate with SPDX

    The authors from the header of the files are added in a previous commit.
    
    Change-Id: Iafeaafb9689c65bd2f5de3960097ec0d4c1009e7
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38544
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    felixheld authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    3f3eca9 View commit details
    Browse the repository at this point in the history
  11. util/lint: Update spelling.txt from lintian data set

    commit 1191c09201b43aab55333a70d056d0c355abe329 at
    https://salsa.debian.org/agx/lintian/tree/master/data/spelling provides
    a much more comprehensive collection of misspellings, so merge it in.
    
    While at it, also sort the file for future easier merging which is the
    main reason that some lines appear to be removed: they're merely moved.
    
    For sorting, I adapted their make rule:
    
    	make -f - sort-spelling.txt <<'EOF'
    	.RECIPEPREFIX=%
    	sort-%: %
    	%csplit --prefix $<- $< '/^$$/'
    	%LC_ALL=en_US sort -u $<-01 | cat $<-00 - > $<
    	%rm -f $<-0[01]
    	EOF
    
    Change-Id: I939e3a8820c88d0e639bd29b46a86b72bce1a098
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38632
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    pgeorgi committed Jan 30, 2020
    Copy the full SHA
    805b291 View commit details
    Browse the repository at this point in the history
  12. util/cbfstool: Fix typos

    Found by: util/lint/checkpatch.pl --types TYPO_SPELLING --fix-inplace
    --strict --terse -f util/cbfstool/*.c
    
    Change-Id: I13a27407bf2bad4b9fadcec8cdbd5889068f13cf
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38633
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    pgeorgi committed Jan 30, 2020
    Copy the full SHA
    01cfecc View commit details
    Browse the repository at this point in the history
  13. util/msrtool: Fix typos

    The Intel docs also call it "Scalable Bus Speed", so the typo is on us.
    
    Found by: util/lint/checkpatch.pl --types TYPO_SPELLING --fix-inplace
    --strict --terse -f util/msrtool/*.c
    
    Change-Id: I84bdba687060e695d29420b9dd8eeb5f4ec44610
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38634
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    pgeorgi committed Jan 30, 2020
    Copy the full SHA
    fbbef02 View commit details
    Browse the repository at this point in the history
  14. util/msrtool: Fix formatting issues reported by checkpatch

    Change-Id: I487a9e6a6416bbe874ddadeaf464f54c02cacb0a
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38635
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    pgeorgi committed Jan 30, 2020
    Copy the full SHA
    5c65d00 View commit details
    Browse the repository at this point in the history
  15. Documentation/vendorcode/eltan: Update security document

    Update the security document to reflect the current state of the
    coreboot implementation.
    
    Add more detail and document the change to the public vboot API.
    
    BUG=N/A
    TEST=build
    
    Change-Id: I228d0faae0efde70039680a981fea9a436d2384f
    Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38591
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    wvervoorn authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    9454591 View commit details
    Browse the repository at this point in the history
  16. src/superio/*: Fix typos

    Found by: util/lint/checkpatch.pl --types TYPO_SPELLING --fix-inplace
    --strict --terse -f $(find src/superio -name '*.[ch]')
    
    Change-Id: I36fd8cfeffdaf81d7ac646bab7ffac3e36c77879
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38652
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    pgeorgi authored and felixheld committed Jan 30, 2020
    Copy the full SHA
    34ca460 View commit details
    Browse the repository at this point in the history
  17. util/*: more typo fixes

    Found by: util/lint/checkpatch.pl --types TYPO_SPELLING --fix-inplace
    --strict --terse -f $(find util -name '*.[ch]')
    
    Change-Id: I059071fd3a2edb41c72fc57fccbb520bd2ebb757
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38651
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    pgeorgi authored and felixheld committed Jan 30, 2020
    Copy the full SHA
    220c209 View commit details
    Browse the repository at this point in the history
  18. util/lint: enforce SPDX license headers in src/superio

    Change-Id: Iae8d4f0470f75b47e53c50790f06902acb9a24cc
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38545
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    felixheld authored and pgeorgi committed Jan 30, 2020
    Copy the full SHA
    b729d8b View commit details
    Browse the repository at this point in the history
  19. soc/intel/common/systemagent: Add Kconfig guard

    Looks like selecting SOC_INTEL_COMMON force-sets MMCONF_BASE_ADDR to
    some value which can't be overriden outside of soc/intel/common. So
    adding a non-SoC platform thats uses code from soc/intel/common is not
    possible.
    
    TEST=build test on wip platform
    
    Change-Id: Ia160444e8ac7cac55153f659f4d98f4f77f0d467
    Signed-off-by: Andrey Petrov <anpetrov@fb.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38639
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: David Guckian
    anpetrovfb committed Jan 30, 2020
    Copy the full SHA
    dafd514 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. soc/amd/stoneyridge: use SMBus speed in compilation unit

    The fixed bus speed of 400 kHz doesn't need to reside in a header file.
    Just move the assumption into the code itself.
    
    Change-Id: I426fe078909a9b725c1747380d69af31292b6d1e
    Signed-off-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38611
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Aaron Durbin committed Jan 31, 2020
    Copy the full SHA
    5c0ef70 View commit details
    Browse the repository at this point in the history
  2. soc/amd/stoneyridge: use SMBus timeout in compilation unit

    The timeout is fixed and only used in one place. Put the assumption
    in the compliation unit utilizing the defintion.
    
    Change-Id: I7537549da90d0bc158e638c533e8e8b0f1e28a7d
    Signed-off-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38612
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Aaron Durbin committed Jan 31, 2020
    Copy the full SHA
    1278728 View commit details
    Browse the repository at this point in the history
  3. soc/amd/stoneyridge: move to using smbus_host.h definitions

    The SMBus function declarations were duplicated. Use the common
    ones provided by smbus_host.h.
    
    Change-Id: Ic912b91daf79ecd2c276a383edcda563891cf643
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Signed-off-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38222
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Aaron Durbin committed Jan 31, 2020
    Copy the full SHA
    178d644 View commit details
    Browse the repository at this point in the history
  4. soc/amd/picasso: use SMBus speed in compilation unit

    The fixed bus speed of 400 kHz doesn't need to reside in a header file.
    Just move the assumption into the code itself.
    
    Change-Id: I8bb68607070d0daeae2ad3bcd79f49d5c20048fd
    Signed-off-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38613
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Aaron Durbin committed Jan 31, 2020
    Copy the full SHA
    3bee7df View commit details
    Browse the repository at this point in the history
  5. soc/amd/picasso: use SMBus timeout in compilation unit

    The timeout is fixed and only used in one place. Put the assumption
    in the compliation unit utilizing the defintion.
    
    Change-Id: I93c061e74df6b4265fd1c61fc4669410ebc9554f
    Signed-off-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38614
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Aaron Durbin committed Jan 31, 2020
    Copy the full SHA
    c348898 View commit details
    Browse the repository at this point in the history
  6. soc/amd/picasso: move to using smbus_host.h definitions

    The SMBus function declarations were duplicated. Use the common
    ones provided by smbus_host.h.
    
    Change-Id: Ia8fec8f58d72690d73f2241e69b3ff05f74943a4
    Signed-off-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38615
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Aaron Durbin committed Jan 31, 2020
    Copy the full SHA
    7cd39d2 View commit details
    Browse the repository at this point in the history
  7. cbfstool: Set deprecated _BSD_SOURCE and _SVID_SOURCE macros

    In glibc feature control macros, _DEFAULT_SOURCE is the shorthand to
    tell glibc to enable "all the default stuff", meaning POSIX, BSD and
    System V interfaces. However, this macro is somewhat recent and older
    glibc versions (e.g. 2.12) are still occasionally in use that don't
    recognize it yet. For the benefits of users with these versions, let's
    also enable the deprecated _BSD_SOURCE and _SVID_SOURCE macros which
    essentially achieve the same thing. We must continue to define
    _DEFAULT_SOURCE so that newer glibc versions don't throw a deprecation
    warning.
    
    This patch should make BSD-style byteswap macros like le32toh()
    available on these older glibc versions.
    
    Change-Id: I019bbcf738a1bcdccd7b299bdde29cd4d4ded134
    Signed-off-by: Julius Werner <jwerner@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38638
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
    jwerner-chromium committed Jan 31, 2020
    Copy the full SHA
    d6900a9 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2020

  1. device/pnp_device: improve warning/error messages

    Explicitly state that the assignment is missing in the devicetree. In
    the case of the warnings, the missing assignments might not be an issue.
    
    Change-Id: Ic0b2f19496c8b4cd6340b0b8a8d0155f8ad05a43
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38655
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    felixheld committed Feb 1, 2020
    Copy the full SHA
    24d0ed7 View commit details
    Browse the repository at this point in the history
  2. mb/google/hatch: Override CPU flex ratio

    This patch overrides CPU flex ratio on hatch in order to get
    better boot time numbers in vboot_reference.
    
    BUG=b:142264107
    TEST=Able to save ~100ms of platform boot time while running with
    lower cpu flex ratio (i.e. freq ~1500MHz)
    
    Without this CL
    
    1100:finished vboot kernel verification                802,443 (148,108)
    
    With this CL
    
    1100:finished vboot kernel verification                685,382 (46,496)
    
    Change-Id: Idd1d1c0c04b1f742f17227a1335f27a956ee940d
    Signed-off-by: Subrata Banik <subrata.banik@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/36865
    Reviewed-by: V Sowmya <v.sowmya@intel.com>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-by: Pratikkumar V Prajapati <pratikkumar.v.prajapati@intel.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    subrata-b committed Feb 1, 2020
    Copy the full SHA
    a017e5f View commit details
    Browse the repository at this point in the history
  3. nb/intel/sandybridge: improve indexed register helper macros

    Replace the multiplications with corresponding shifts, so that it's
    easier to see at which bit offsets the values get assigned.
    
    Change-Id: I0b0d5172394ff65edfe57bdad474631938e58872
    Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38577
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    felixheld committed Feb 1, 2020
    Copy the full SHA
    9903565 View commit details
    Browse the repository at this point in the history
  4. mb/lenovo/t520: Switch to overridetree

    Change-Id: If6be9cffe97dcd8f733e3bd5a67a408dd817005a
    Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/37295
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    lemenkov authored and pgeorgi committed Feb 1, 2020
    Copy the full SHA
    02b29b9 View commit details
    Browse the repository at this point in the history
  5. util/docker/Makefile: Correct help output

    The help output suggests clean-docker should be used to remove the
    docker coreboot containers and images. The Makefile actually supports
    the docker-clean target.
    
    Corrected the help output to reflect the actual Makefile target.
    
    BUG=N/A
    TEST=build
    
    Change-Id: Ib24f8e1ecdf3bdc31b3f8b484ce7ca0c19b645ee
    Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38649
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
    wvervoorn authored and pgeorgi committed Feb 1, 2020
    Copy the full SHA
    6051073 View commit details
    Browse the repository at this point in the history
  6. ec/google/chromeec: Add new host command, EC_CMD_GET_PD_PORT_CAPS

    The new host command provides these static capabilities of each USB-PD port:
    1) Port number
    2) Power role: source, sink, dual
    3) Try-power role: none, sink, source
    4) Data role: dfp, ufp, dual
    5) Port location: these come from power_manager
    
    BUG=b:146506369
    BRANCH=none
    TEST=compiles
    
    Change-Id: I923e4b637a2f41ce173d378ba5030f1ae8c22222
    Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38539
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tim Wawrzynczak authored and pgeorgi committed Feb 1, 2020
    Copy the full SHA
    87afa90 View commit details
    Browse the repository at this point in the history
  7. ec/google/chromeec: Add new wrappers for host commands

    Add new functions to get (from the EC):
    1) The number of USB-PD ports
    2) The capabilities of each port (EC_CMD_GET_PD_PORT_CAPS)
    
    BUG=b:146506369
    BRANCH=none
    TEST=Instrumented calls to these and verified the data
    
    Change-Id: I57edbe1592cd28b005f01679ef8a8b5de3e1f586
    Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38540
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tim Wawrzynczak authored and pgeorgi committed Feb 1, 2020
    Copy the full SHA
    e607829 View commit details
    Browse the repository at this point in the history
  8. mb/google/hatch: Modify kohaku's EC_SCI_EVENTS mask

    Remove EC_HOST_EVENT_MKBP from kohaku's EC_SCI_EVENTS mask, so that
    MKBP events don't generate an SCI. The EC is also being changed to use
    host events to wake up the system, and use the EC_INT_L line for MKBP
    IRQ signalling. Otherwise, there would be two IRQs generated for MKBP
    events.
    
    BUG=b:144122000
    BRANCH=firmware-hatch-12672.B
    TEST=System shows ACPI interrupt as the wakeup IRQ, and the
    MKBP host event is properly processed as well.
    
    Change-Id: I9ff964e38e66ccb953a1adad5a936a9da6e4f3a1
    Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/38654
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Tim Wawrzynczak authored and pgeorgi committed Feb 1, 2020
    Copy the full SHA
    60a4e95 View commit details
    Browse the repository at this point in the history