Commits on Jul 10, 2019

  1. src/mainboard/pcengines/apu2/variants/apu3/bootorder: fix watchdog issue

    Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
    miczyg1 committed Jul 10, 2019
    Copy the full SHA
    8e9bc60 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2019

  1. arch/riscv: Enable FIT support

    Tested on qemu-riscv.
    Depends on OpenSBI integration and proper memory detection in qemu.
    
    Boots into Linux until initrd should be loaded.
    
    Tested on SiFive/unleashed:
    Boots into Linux until earlycon terminates.
    
    Change-Id: I5ebc6cc2cc9e328f36d70fba13555386bb8c29d6
    Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
    Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/30292
    Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    neuschaefer authored and siro20 committed Aug 8, 2019
    Copy the full SHA
    3a4511e View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2019

  1. soc/intel/common/gspi: Use GSPI bus id to map to the controller

    Currently SPI bus id is used to map to the controller in order to set
    the controller state. In certain platforms SPI bus id might not be
    exactly the same as GSPI bus id. For example, in Intel platforms SPI bus
    id 0 maps to fast spi i.e. SPI going to the flash and SPI bus id 1 .. n
    map to GSPI bus id 0 .. n-1. Hence using SPI bus id leads to mapping to the
    GSPI controller that is not enabled. Use the GSPI id bus so that the right
    controller is set to active state. This fixes the regression introduced
    by CB:34449
    
    BUG=b:135941367
    TEST=Boot to ChromeOS.
    
    Change-Id: I792ab1fa6529f5317218896ad05321f8f17cedcd
    Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34761
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-by: Subrata Banik <subrata.banik@intel.com>
    karthikr-google authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    c6e3708 View commit details
    Browse the repository at this point in the history
  2. mb/google/hatch: Refactor override_early_gpio_table

    There was the potential for misuse of the override early GPIO table,
    because if the override early GPIO table did not have a corresponding
    entry in the base table, it would not get overridden, and there was
    no way to know except manual inspection (this has already happened
    here), so now all hatch mainboards are required to explicitly list out
    all of their required early GPIOs.
    
    TEST=booted several hatch boards, verified that they can communicate
    with TPM and successfully train memory
    
    Change-Id: I0552b08a284fd6fb41a09fef431a0d006b0cf0bd
    Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34782
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
    Tim Wawrzynczak authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    08eca5d View commit details
    Browse the repository at this point in the history
  3. cpu/x86 mp_init: Add option for AMD INIT SIPI sequence

    The common code adheres to the Intel requirement of bringing up the
    cores with INIT SIPI SIPI.  This sequence is tolerated on some AMD
    AMD CPUs but fails on others.  Add a way to skip the second SIPI.
    
    TEST=Mock up on grunt and verify no errors
    BUG=b:138919564
    
    Change-Id: I201869003ddc7d04d332cd5734ac6d63979d89e0
    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34759
    Reviewed-by: Martin Roth <martinroth@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    marshall-dawson authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    98f43a1 View commit details
    Browse the repository at this point in the history
  4. soc/nvidia/tegra210: Fix potential NULL pointer dereference

    Recent Coverity scan indicated potential NULL deference; if either
    spi->dma_in or spi->dma_out are NULL, the fifo_error() check could
    dereference a NULL pointer.
    
    Also fixed what appears to be a logic bug for the spi->dma_out case,
    where it was using the todo (count) from spi->dma_in.
    
    Found-by: Coverity CID 1241838, 1241854
    Change-Id: Icd1412f0956c0a4a75266d1873d5e9848aceee32
    Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34787
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Tim Wawrzynczak authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    680027e View commit details
    Browse the repository at this point in the history
  5. mb/google/sarien/variants/arcada: Set PCH Thermal Trip point to 77 de…

    …gree C
    
    PMC logic shuts down the PCH thermal sensor when CPU is in a C-state and
    DTS Temp <= Low Temp Threshold (LTT) in case of Dynamic Thermal shutdown
    when S0ix is enabled.
    
    BUG=None
    BRANCH=None
    TEST=Verified Thermal Device(B0: D18: F0) TSPM offset 0x1c [LTT (8:0)]
    value is 0xFE on Arcada.
    
    Change-Id: I1915b974b10638b0f6ab97c6fb9b7a58d2cabc59
    Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33130
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    sumeetpawnikar authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    dacd5b9 View commit details
    Browse the repository at this point in the history
  6. mb/google/sarien/variants/sarien: Set PCH Thermal Trip point to 77 de…

    …gree C
    
    PMC logic shuts down the PCH thermal sensor when CPU is in a C-state and
    DTS Temp <= Low Temp Threshold (LTT) in case of Dynamic Thermal Shutdown
    when S0ix is enabled.
    
    BUG=None
    BRANCH=None
    TEST=Verified Thermal Device (B0: D20: F2) TSPM offset 0x1c [LTT (8:0)]
    value is 0xFE on Sarien.
    
    Change-Id: Ibc336be0523ff4e65a818474907faf20fc417ff4
    Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33131
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    sumeetpawnikar authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    ca38fbc View commit details
    Browse the repository at this point in the history
  7. soc/mediatek/mt8173: Remove dual DSI mode

    The 'dual DSI mode' was never used by any real boards running coreboot
    and is introducing lots of complexity when it comes to refactoring.
    
    In order to create a common display stack for MTK SOCs, we want to first
    drop dual DSI mode so 8173 and 8183 DSI/DDP implementation will be more
    similar to each other.
    
    BUG=b:80501386,b:117254947
    TEST=emerge-oak coreboot
    
    Change-Id: I357c30cc687803ca8045d0b055dec2e22eef4291
    Signed-off-by: Hung-Te Lin <hungte@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34693
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    hungte authored and jwerner-chromium committed Aug 9, 2019
    Copy the full SHA
    1c6e5a6 View commit details
    Browse the repository at this point in the history
  8. soc/mediatek/mt8173: Refactor display driver to share common parts

    Move those will be shared by other MTK SOCs (for example, MT8183) to
    common/ddp.c.
    
    BUG=b:80501386,b:117254947
    BRANCH=none
    TEST=Boots correctly on Oak
    
    Change-Id: Ie5709ab6e263caa21fdf7e799dc2ee884ffaf800
    Signed-off-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34515
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    hungte authored and jwerner-chromium committed Aug 9, 2019
    Copy the full SHA
    7ece246 View commit details
    Browse the repository at this point in the history
  9. soc/mediatek/mt8183: Add display controller driver

    The MT8183 SOC has a DISP (display controller) that supports
    overlay, read/write DMA, ... etc. The output of DISP goes to
    display interface DSI, DPI or DBI directly.
    
    Reference: MT8183 Application Processor Functional Spec,
     6.1 Display Controller
    
    BUG=b:80501386,b:117254947
    BRANCH=none
    TEST=Boots correctly on Kukui
    
    Change-Id: Ic4aecc58d081f14f5d136b9ff8e813e6f40f78eb
    Signed-off-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/31478
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Yongqiang Niu authored and jwerner-chromium committed Aug 9, 2019
    Copy the full SHA
    84d5d65 View commit details
    Browse the repository at this point in the history
  10. soc/intel/common: Implement power-failure-state handling

    This is a consolidation of the respective feature in `soc/intel/*lake/`,
    including additional support for MAINBOARD_POWER_STATE_PREVIOUS.
    
    For the latter, firmware has to keep track of the `previous` state. The
    feature was already advertised in Kconfig long ago, but not implemented.
    
    SoC code has to call pmc_set_power_failure_state() at least once during
    boot and needs to implement pmc_soc_set_afterg3_en() for the actual
    register write.
    
    Change-Id: Ic6970a79d9b95373c2855f4c92232d2aa05963bb
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34724
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    i-c-o-n committed Aug 9, 2019
    Copy the full SHA
    ef19ce5 View commit details
    Browse the repository at this point in the history
  11. soc/intel/skylake: Use new power-failure-state API

    Also move pmc_soc_restore_power_failure() which was guarded twice to
    not be included in SMM, where the only call lives. Once all platforms
    moved to the new API, it can be implemented in a central place, avoi-
    ding the weak-function trap.
    
    Change-Id: Ie72753764ecd876e6cb999fa0074d1114ae5efcf
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34725
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    i-c-o-n committed Aug 9, 2019
    Copy the full SHA
    04ce8fe View commit details
    Browse the repository at this point in the history
  12. soc/intel/{cnl,icl}: Use new power-failure-state API

    pmc_soc_restore_power_failure() is only called from SMM, so add
    `pmc.c` to the `smm` class. Once all platforms moved to the new
    API, it can be implemented in a central place, avoiding the weak-
    function trap.
    
    Change-Id: Ib13eac00002232d4377f683ad92b04a0907529f3
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34726
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    i-c-o-n committed Aug 9, 2019
    Copy the full SHA
    733c28f View commit details
    Browse the repository at this point in the history
  13. soc/intel/apl: Implement power-failure-state API

    Needed some Makefile changes to be able to compile for SMM.
    
    Change-Id: Ibf218b90088a45349c54f4b881e895bb852e88bb
    Signed-off-by: Nico Huber <nico.huber@secunet.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/31352
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    n-huber authored and i-c-o-n committed Aug 9, 2019
    Copy the full SHA
    2fe596e View commit details
    Browse the repository at this point in the history
  14. soc/intel: Drop pmc_soc_restore_power_failure()

    Get rid of this function and its dangerous, weak implementation.
    Instead, call pmc_set_power_failure_state() directly from the SMI
    handler.
    
    Change-Id: I0718afc5db66447c93289643f9097a4257b10934
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34727
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    i-c-o-n committed Aug 9, 2019
    Copy the full SHA
    3e786b5 View commit details
    Browse the repository at this point in the history
  15. soc/intel/common: Set power-failure-state via option table

    Allow get_option() to override the Kconfig choice.
    
    Change-Id: Ie91b502a38d1a40a3dea3711b017b7a5b7edd2db
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34729
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    i-c-o-n committed Aug 9, 2019
    Copy the full SHA
    6bbabef View commit details
    Browse the repository at this point in the history
  16. amd/stoneyridge,picasso: Open TSEG earlier

    Don't make assumptions about which subregion will
    be accessed first.
    
    Change-Id: I558fa4acc5068014b3748be6fc1bc34999054c0a
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34775
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    kmalkki committed Aug 9, 2019
    Copy the full SHA
    544369e View commit details
    Browse the repository at this point in the history
  17. cpu/x86/smm: Drop SMI handler address from struct

    Change-Id: Ib925b11ba269e0f3a9a0a7550705bf2a6794c5b1
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34747
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    kmalkki committed Aug 9, 2019
    Copy the full SHA
    2e3aff8 View commit details
    Browse the repository at this point in the history
  18. google/drallion: Fix build issue due to recent merge

    One case slipped past the review and rebase of 733c28f
    (soc/intel/{cnl,icl}: Use new power-failure-state API).
    
    Change-Id: Id01df30d10e202e9672bf5be799a84f4f202fe24
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34812
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    kmalkki authored and i-c-o-n committed Aug 9, 2019
    Copy the full SHA
    bd7b245 View commit details
    Browse the repository at this point in the history
  19. src/vendorcode/intel: Update Cometlake FSP headers as per FSP v1263

    Change-Id: Ia29769f1fc9947d9e37de2534c9486d21a4c9eae
    Signed-off-by: Aamir Bohra <aamir.bohra@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34129
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    aamirbohra authored and furquan-goog committed Aug 9, 2019
    Copy the full SHA
    4c81167 View commit details
    Browse the repository at this point in the history
  20. src/soc/amd/picasso: Update GPIO configuration

    Make the definitions match Picasso's definitions.  Add/remove pins
    that differ from stoneyridge, update GEVENTs for the FCH mapping.
    
    Change-Id: I59f958151f27ed4ca0eb1a87ade6102eec1e5061
    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33761
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Martin Roth <martinroth@google.com>
    marshall-dawson authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    2e0f278 View commit details
    Browse the repository at this point in the history
  21. soc/amd/common: Add new GPIO 8K pull-up definition

    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Change-Id: If24bed8b3f10d945b9988445025409c8420dd07a
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33762
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Martin Roth <martinroth@google.com>
    marshall-dawson authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    48c5d29 View commit details
    Browse the repository at this point in the history
  22. src/amd/picasso: Update reset code

    Remove the scratch register indicators.  Per AMD, AGESA no longer
    uses these.  Use a new IO register to determine whether a warm
    reset should occur.
    
    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Change-Id: I0ff7935004b3d1ac5204d3ef575cfa98116a57fa
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33989
    Reviewed-by: Martin Roth <martinroth@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    marshall-dawson authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    c17cc63 View commit details
    Browse the repository at this point in the history
  23. soc/amd/picasso: Update machine check support

    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Change-Id: Iae48a0c3fb2abf2aa3fb78af8d50431c8533f76f
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33769
    Reviewed-by: Martin Roth <martinroth@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    marshall-dawson authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    40bc485 View commit details
    Browse the repository at this point in the history
  24. soc/amd/picasso: Update SMI sources

    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Change-Id: I42bb0edb6fa2c6fa92829ef5d3623483aa448a5c
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33771
    Reviewed-by: Martin Roth <martinroth@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    marshall-dawson authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    d881367 View commit details
    Browse the repository at this point in the history
  25. soc/amd/picasso: Remove IOAPIC2

    Remove the Family 15h device.  It's not in Family 17h documentation
    and isn't detectable with HDT.
    
    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Change-Id: Ifa9c06f78f39a3ec3b555d4ecc542172cd44a0b6
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33990
    Reviewed-by: Martin Roth <martinroth@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    marshall-dawson authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    ad1fdac View commit details
    Browse the repository at this point in the history
  26. soc/amd/picasso: Reduce 48M out configuration

    Picasso has only a single 48M output.  Simplify the setup function.
    Note that while the feature is similar to older products, the register
    definition and Enable bit has changed.
    
    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Change-Id: Iebaf5219fdcd3145a4faf906f656a7fbdc7e0c36
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33768
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Martin Roth <martinroth@google.com>
    marshall-dawson authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    0bd0806 View commit details
    Browse the repository at this point in the history
  27. soc/amd/picasso: Update CPU support

    Change the Stoney Ridge ID to Picasso.  Rename family 15h.  Get the
    number of cores/threads from CPUID as all D18 registers are new.
    
    Change-Id: I44c45db637897f6caf320032c9f79a3a1ab4d6c9
    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34421
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Martin Roth <martinroth@google.com>
    marshall-dawson authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    34c3056 View commit details
    Browse the repository at this point in the history
  28. soc/amd/picasso: Update i2c support

    Change the stoneyridge definitions into picasso.  The named 0 and 1
    buses are controlled by the PSP and not directly accessible by host
    firmware.  I2C4 operates only in slave mode so is not added to to
    the bus clear-after-reset sequence.
    
    The I2C controller is fundamentally the same as on Stoney Ridge so
    the ability to clear a potentially jammed bus is still required.
    
    Program Picasso's new pad control registers in the MISC AcpiMmio
    space according to the recommended settings.
    
    Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
    Change-Id: Ibbc5504ebc36654e28c79fe3ae17cc0d9255118f
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33763
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Martin Roth <martinroth@google.com>
    marshall-dawson authored and Martin Roth committed Aug 9, 2019
    Copy the full SHA
    e2c24f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2019

  1. string: implement strspn, strcspn, atol

    Change-Id: Id8fa880357124b620bde8884949bd8ffff7d0762
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34450
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Yuji Sasaki authored and Martin Roth committed Aug 10, 2019
    Copy the full SHA
    6b212d8 View commit details
    Browse the repository at this point in the history
  2. src: Include <stdint.h> instead of <inttypes.h>

    The <inttypes.h> header currently does nothing but include the
    definitions from <stdint.h>, so let's #include that directly instead.
    
    Change-Id: I9d83ad37d0d7300a093001596ce3f0b3830c5701
    Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34800
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Jacob Garber authored and Martin Roth committed Aug 10, 2019
    Copy the full SHA
    5cf9ccc View commit details
    Browse the repository at this point in the history
  3. mb/google/octopus: Add G2touch touchscreen support

    Add G2touch touchscreen support for Dorp/Vortinija/Vorticon.
    
    BUG=b:139110164
    BRANCH=octopus
    TEST=emerge-octopus coreboot chromeos-bootimage, and check touchscreen by
    evtest.
    
    Change-Id: Ia42757c881ec78b1c676ac984507732717af94a9
    Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34794
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Justin TerAvest <teravest@chromium.org>
    Wisley Chen authored and Martin Roth committed Aug 10, 2019
    Copy the full SHA
    a23ff7c View commit details
    Browse the repository at this point in the history
  4. mb/facebook/fbg1701: Select SOC_INTEL_COMMON_BLOCK_HDA_VERB

    HDA is not configured.
    Enable SOC_INTEL_COMMON_BLOCK_HDA_VERB to configure the HDA using
    cim_verb_data[] table.
    
    BUG=N/A
    TEST=Boot Embedded Linux 4.20 on Facebook FBG-1701
    
    Change-Id: I9bb542091ad200833894431f5b840f48dd388173
    Signed-off-by: Frans Hendriks <fhendriks@eltan.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34655
    Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    FransHendriks authored and Martin Roth committed Aug 10, 2019
    Copy the full SHA
    d073a0b View commit details
    Browse the repository at this point in the history
  5. include, lib: Add <inttypes.h> printf macros

    In general, third party code (such as vboot) doesn't know what the
    underlying types are for the integers in <stdint.h>, so these macros are
    useful for portably printing them. Of these definitions, coreboot so far
    has only used PRIu64 (in one place), which isn't needed anymore since we
    know what the underlying type of a u64 is.
    
    Change-Id: I9e3a300f9b1c38e4831b030ff8af3fed2fa60f14
    Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33823
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Jacob Garber authored and i-c-o-n committed Aug 10, 2019
    Copy the full SHA
    3a32380 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2019

  1. mb/google/hatch: Fix Kohaku pen GPIO configuration

    Oops, I missed this in the last CL.
    The pin needs to be configured as owned by GPIO, so that the kernel
    driver can bind it with an IRQ.
    
    BUG=b:139165490
    TEST=Ensure kernel nastygram about inability to claim the IRQ is gone
    
    Change-Id: I26c08d75d8b4e3b834db6e90868239899605fa5b
    Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34815
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Tim Wawrzynczak authored and Martin Roth committed Aug 11, 2019
    Copy the full SHA
    0caf834 View commit details
    Browse the repository at this point in the history
  2. kohaku: add TEMP_SENSOR_3 and TEMP_SENSOR_4 to DPTF

    The Kohaku V24 schematic adds two additional temperature sensors
    to the EC. Add these to the DPTF tables.
    
    Cq-Depend: chromium:1742914
    BRANCH=none
    BUG=b:138578073
    TEST=Rebuild EC and BIOS, look for new thermal sensors in kernel.
    1. Build EC
    ``cd ~/trunk/src/platform/ec``
    ``make -j BOARD=kohaku``
    2. Program EC
    ``./util/flash_ec --board=kohaku``
    3. Reboot device
    4. Rebuild BIOS
    ``cd ~/trunk/src/third_party/coreboot``
    ``FEATURES="noclean" FW_NAME=kohaku emerge-hatch chromeos-ec depthcharge
    vboot_reference libpayload coreboot-private-files intel-cmlfsp
    coreboot-private-files-hatch coreboot chromeos-bootimage``
    5. Use flashrom to program the BIOS
    6. Reboot device
    7. Log into the root console (ctrl-alt-F2 or servo)
    8. Example thermal sensor information
    ``grep . /sys/class/thermal/t*/type``
    Look for "TSR0" through "TSR3" in the output.
    
    Change-Id: Ib8f38beae6392855927ce1249c229d7a114c72b2
    Signed-off-by: Paul Fagerburg <pfagerburg@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34765
    Reviewed-by: Furquan Shaikh <furquan@google.com>
    Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    ElectricalPaul authored and Martin Roth committed Aug 11, 2019
    Copy the full SHA
    d366f54 View commit details
    Browse the repository at this point in the history
  3. vendorcode/eltan/security/lib: Add missing vb2ex_printf()

    Build error on missing vb2ex_printf() in bootblock stage
    Add the file vboot_logic.c which contains the missing vb2ex_printf().
    
    BUG=N/A
    TEST=Boot Linux 4.20 and verify logging on Facebook FBG-1701
    
    Change-Id: I3f649f3faf1e812d592e4981bc75698e2cad1cc8
    Signed-off-by: Frans Hendriks <fhendriks@eltan.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34666
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Lance Zhao <lance.zhao@gmail.com>
    FransHendriks authored and Martin Roth committed Aug 11, 2019
    Copy the full SHA
    7ca7dbc View commit details
    Browse the repository at this point in the history
  4. arch/x86: Enable POSTCAR_CONSOLE by default

    Almost all platforms force it on. Make it enabled by
    default but under user control to optionally disable it.
    
    Change-Id: I6b0f19c8bfd6ffed93023d57a1d28ca6acc06835
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34803
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Martin Roth <martinroth@google.com>
    kmalkki authored and Martin Roth committed Aug 11, 2019
    Copy the full SHA
    9fc12e0 View commit details
    Browse the repository at this point in the history
  5. arch/x86: Flip option NO_CAR_GLOBAL_MIGRATION

    It is easier to track CAR_GLOBAL_MIGRATION which is
    the approach to be deprecated with the next release.
    
    This change enforces new policy; POSTCAR_STAGE=y is
    not allowed together with CAR_GLOBAL_MIGRATION=y.
    
    Change-Id: I0dbad6a14e68bf566ac0f151dc8ea259e5ae2250
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34804
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    kmalkki committed Aug 11, 2019
    Copy the full SHA
    0f5e01a View commit details
    Browse the repository at this point in the history
  6. arch/x86: Obsolete CACHE_AS_RAM config

    It was originally inverse of romcc-built romstages on x86,
    and is currently always true on x86.
    
    Change-Id: I65fa6b3ce8a86781724bbf08f5eadee4112667c4
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34806
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    kmalkki committed Aug 11, 2019
    Copy the full SHA
    c74b93d View commit details
    Browse the repository at this point in the history
  7. intel/haswell: Move platform_enter_postcar()

    Do this for consistency with remaining cpu/intel sources.
    Also wipe out some spurious includes.
    
    Change-Id: I1adde58966eae9205703b87e7aa17c50e5791a85
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34807
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    kmalkki committed Aug 11, 2019
    Copy the full SHA
    e2e1f12 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2019

  1. soc/intel/common: Fix typo mistake in cache_as_ram.S

    Change-Id: I14c0e87012bdbaaff50844ed097b66e2221b1e08
    Signed-off-by: Subrata Banik <subrata.banik@intel.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34818
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-by: V Sowmya <v.sowmya@intel.com>
    subrata-b committed Aug 12, 2019
    Copy the full SHA
    8adaffc View commit details
    Browse the repository at this point in the history
  2. soc/sifive/fu540: add code for spi and map flash to memory spaces

    SiFive's ZSBL has initialized flash, but only 16MB of space is available.
    
    1. add code for spi
    2. add code to map flash to memory spaces
    
    Change-Id: I106688c65ac7dd70be7479dc4691797b700682d9
    Signed-off-by: Xiang Wang <merle@hardenedlinux.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/33055
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    wxjstz authored and siro20 committed Aug 12, 2019
    Copy the full SHA
    f4e1583 View commit details
    Browse the repository at this point in the history
  3. sb/intel/i82801dx: Drop unused parameter

    Change-Id: I4aaa67ba3de82b07e0e278be39a93a482bbf09c4
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34819
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    kmalkki committed Aug 12, 2019
    Copy the full SHA
    b987282 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2019

  1. soc/mediatek: Create common DSI driver from mt8173

    The DSI initialization is almost the same for 8173 and 8183, so we want
    to move most of common functions into common/dsi.c.
    
    The major board-specific functions left are:
     - reset (controller register has different format)
     - pin_drv_ctrl (8183 does not need this)
    
    BUG=b:80501386,b:117254947
    TEST=make -j # board=oak (mt8173)
    
    Change-Id: I8d4369a3c84db551287a9c9d1b22f552c5f7518d
    Signed-off-by: Hung-Te Lin <hungte@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34769
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    hungte authored and jwerner-chromium committed Aug 13, 2019
    Copy the full SHA
    c59fbf2 View commit details
    Browse the repository at this point in the history
  2. soc/mediatek: dsi: Unify format to bpp conversion

    The 'bpp' was referred to both 'bits per pixel' and 'bytes per pixel' in
    MTK DSI driver and should be corrected. By this change we now always
    consider 'bpp' as 'bits per pixel', and rename the variables for other
    cases.
    
    BUG=b:80501386,b:117254947
    TEST=make -j # board = oak and boots
    
    Change-Id: Ibd405220b73859e5592c68f498af07eef8d7edbc
    Signed-off-by: Hung-Te Lin <hungte@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34770
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    hungte authored and jwerner-chromium committed Aug 13, 2019
    Copy the full SHA
    61e3466 View commit details
    Browse the repository at this point in the history
  3. soc/mediatek: dsi: Refactor MIPI TX configuration

    The only platform-specific difference in mtk_dsi_phy_clk_setting is how
    to configure MIPI TX because those registers (and logic) are quite
    different across different SOCs.
    
    The calculation of data rate is actually the same so we should isolate
    it and move to common, and rename mtk_dsi_phy_clk_setting to a better
    name as mtk_dsi_configure_mipi_tx.
    
    BUG=b:80501386,b:117254947
    TEST=make -j # board = oak and boots
    
    Change-Id: I894dc2c4c053267debf5a58313b2bb489bcf5f3a
    Signed-off-by: Hung-Te Lin <hungte@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34784
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    hungte authored and jwerner-chromium committed Aug 13, 2019
    Copy the full SHA
    302dddf View commit details
    Browse the repository at this point in the history
  4. nb/intel/gm45/acpi.c: Don't read PCI config to check presence

    Change-Id: I4cac29c1bf59df56df8cf0035ee1d5379bbde76e
    Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34837
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    ArthurHeymans committed Aug 13, 2019
    Copy the full SHA
    15063e8 View commit details
    Browse the repository at this point in the history
  5. nb/intel/gm45: Don't create DMAR tables for disabled IGD

    Change-Id: Ia9b74cfb8b68240e87d7adfa28d37db408edb519
    Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-on: https://review.coreboot.org/c/coreboot/+/34836
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    ArthurHeymans committed Aug 13, 2019
    Copy the full SHA
    0845636 View commit details
    Browse the repository at this point in the history