Commits on Jan 9, 2019

  1. southbridge/nvidia/ck804: Drop leftover code

    Code was for romcc romstage.
    
    Change-Id: If368610651ce950169ef71d9ed768a509c2a5c5c
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30736
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    kmalkki committed Jan 9, 2019
    Copy the full SHA
    646edd1 View commit details
    Browse the repository at this point in the history
  2. amdfam10 boards: Use PCI_DEVFN()

    Change-Id: I7b9aeaaa1cfa20efc9d187d91ece4eb9ee659c3f
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30737
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    kmalkki committed Jan 9, 2019
    Copy the full SHA
    e9fc8fd View commit details
    Browse the repository at this point in the history
  3. mainboard/h8scm_fam10: Use apicid_sr5650

    Do this for consistency and to ease further
    bulk-sed work on those lines.
    
    Change-Id: Ic9706de4278d163d1ba0c0706ec5d4c6c87ffa45
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30738
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    kmalkki committed Jan 9, 2019
    Copy the full SHA
    611a5f8 View commit details
    Browse the repository at this point in the history
  4. amdfam10 boards: Use smp_write_pci_intsrc()

    Radically reduces line lengths and splits '(bus<<2) | INT'
    to separate parameters.
    
    Change-Id: I6c924a70d00a9139719f8078bbf1e4d04b576324
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30739
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    kmalkki committed Jan 9, 2019
    Copy the full SHA
    993bc70 View commit details
    Browse the repository at this point in the history
  5. Veyron: fix sdram config for Hynix H9CCNNNBKTMLBR-NTD

    Sdram config sdram-lpddr3-hynix-4GB.inc for H9CCNNNBKTMLBR-NTD can't
    boot on Mickey. It's confirmed that the right config for Hynix
    H9CCNNNBKTMLBR-NTD is sdram-lpddr3-hynix-2GB-BK.inc.
    
    BUG=b:122239609
    BRANCH=master
    TEST=boot on mickey
    
    Change-Id: Ifeaadda50d939e0c118cb7fe3964dcd08b709c2a
    Signed-off-by: Loop_Wu <Loop_Wu@asus.com>
    Reviewed-on: https://review.coreboot.org/c/30761
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    Loop_Wu authored and jwerner-chromium committed Jan 9, 2019
    Copy the full SHA
    3910c4e View commit details
    Browse the repository at this point in the history
  6. soc/intel: Clean mess around UART_DEBUG

    Everything is wrong here, the Kconfig symbols are only the tip of the
    iceberg. Based on Kconfig prompts the SoC code performed pad configu-
    rations! I don't see why the person who configures coreboot should have
    the board schematics at hand.
    
    As a mitigation, we remove the prompts for UART_DEBUG, which is renamed
    to INTEL_LPSS_UART_FOR_CONSOLE (because the former didn't really say
    what it's about), and for UART_FOR_CONSOLE in case the former is selec-
    ted.
    
    Change-Id: Ibe2ed3cab0bb04bb23989c22da45299f088c758b
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Reviewed-on: https://review.coreboot.org/c/29573
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    i-c-o-n committed Jan 9, 2019
    Copy the full SHA
    a96e66a View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2019

  1. southbridge/amd/cimx: Drop unused functions

    Leftovers from attempts of using these with
    native (non-AGESA) amdfam10/15 support code.
    
    Change-Id: I8eaed338438e1de5baee462376e339e1439f72f1
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30728
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    dfd4ec2 View commit details
    Browse the repository at this point in the history
  2. mainboard/amd: Drop incorrect Kconfig select

    Copy-paste from fam15.
    
    Change-Id: I87af312870063aaa498bbfc2f059f69dcdab0094
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30729
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    879e98d View commit details
    Browse the repository at this point in the history
  3. binaryPI: Drop warning on EXT_CONF_SUPPORT

    Copy-paste from fam15 code.
    
    Change-Id: Ic52031c57a8b659bff5ca03a66ec2291140d2233
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30730
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    e8b5c31 View commit details
    Browse the repository at this point in the history
  4. sb/amd/{cimx,sb{7,8}00}: Use PCI_DEVFN()

    Change-Id: I731fd4ecfab679cd3d830a89bc82c56cf9008bc4
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/30786
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    ElyesH authored and kmalkki committed Jan 10, 2019
    Copy the full SHA
    7d1a948 View commit details
    Browse the repository at this point in the history
  5. mb: Move timestamp_add_now to northbridge/amd/amdfam10

    Also remove some commented code.
    
    Change-Id: If2e91ad871b14b305e2181194d77b100e72f5763
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/30771
    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>
    ElyesH authored and kmalkki committed Jan 10, 2019
    Copy the full SHA
    2dce923 View commit details
    Browse the repository at this point in the history
  6. aopen/dxplplusu: Move timestamps to common code

    First initialisation is already in cpu/intel/car/romstage.c.
    
    Change-Id: If3e5068b4a9981354f0fca5fc12b6b81de1c8f4b
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30779
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    ec55868 View commit details
    Browse the repository at this point in the history
  7. mb/google/hatch: enable CPU cluster device

    Change-Id: I28c67fbdf2b4f371c4b533b64cad2c4376ca2bd2
    Signed-off-by: Aamir Bohra <aamir.bohra@intel.com>
    Reviewed-on: https://review.coreboot.org/c/30785
    Reviewed-by: Subrata Banik <subrata.banik@intel.com>
    Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
    Reviewed-by: Shelley Chen <shchen@google.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    aamirbohra authored and Shelley Chen committed Jan 10, 2019
    Copy the full SHA
    cda27c2 View commit details
    Browse the repository at this point in the history
  8. Untangle CBFS microcode updates

    The option to specify a binary file name was added later for platforms
    that do not provide microcode updates in our blobs repository. Alas,
    it wasn't visible what platforms these are. And if you specified a file
    for a platform that already had one, they were all included together.
    
    Make it visible which platforms don't provide binaries with the new con-
    figs MICROCODE_BLOB_NOT_IN_BLOB_REPO, MICROCODE_BLOB_NOT_HOOKED_UP and
    MICROCODE_BLOB_UNDISCLOSED. Based on that we can decide if we want to
    include binaries by default or explicitly show that no files are inclu-
    ded (default to CPU_MICROCODE_CBFS_NONE).
    
    Also split CPU_MICROCODE_CBFS_GENERATE into the more explicit
    CPU_MICROCODE_CBFS_DEFAULT_BINS and CPU_MICROCODE_CBFS_EXTERNAL_BINS.
    And clean up the visibility of options: Don't show CBFS related options
    on platforms that don't support it and don't show external file options
    if the platform uses special rules for multiple files (CPU_MICROCODE_
    MULTIPLE_FILES).
    
    Change-Id: Ib403402e240d3531640a62ce93b7a93b4ef6ca5e
    Signed-off-by: Nico Huber <nico.huber@secunet.com>
    Reviewed-on: https://review.coreboot.org/c/29934
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    n-huber authored and i-c-o-n committed Jan 10, 2019
    Copy the full SHA
    f5ca922 View commit details
    Browse the repository at this point in the history
  9. 3rdparty/blobs: Update for current Intel microcode

    The microcode included for `model_6xx` was for a 660, that path has
    changed.
    
    Change-Id: I09a41a8269cfdf8953bac10c9630922192851e73
    Signed-off-by: Nico Huber <nico.huber@secunet.com>
    Reviewed-on: https://review.coreboot.org/c/30081
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    n-huber authored and i-c-o-n committed Jan 10, 2019
    Copy the full SHA
    ab4eb2a View commit details
    Browse the repository at this point in the history
  10. mb: Move timestamp_add_now to northbridge x4x

    Change-Id: Iacbee658a4049e1c13a120dbc21425ffb6a1cabb
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/30750
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    ElyesH authored and kmalkki committed Jan 10, 2019
    Copy the full SHA
    f5a57a8 View commit details
    Browse the repository at this point in the history
  11. soc/intel/denverton_ns: Fix missing tsc_freq_mhz()

    It was relying on bad weak implementation for postcar
    and verstage.
    
    Change-Id: I5a520e0166198c0565349c164f143f4a43649861
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30763
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: David Guckian
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Vanny E <vanessa.f.eusebio@intel.com>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    6390c50 View commit details
    Browse the repository at this point in the history
  12. arch/x86: Remove weak tsc_freq_mhz() implementation

    Build with TSC_CONSTANT_RATE must fail when this function
    is not implemented for the platform. Weak implementation
    causes division by zero in timer_monotonic_get() and
    turns udelay() into no delay.
    
    Change-Id: Id3b105ea3aac37cd0cba18ce2fb06d87a055486f
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30762
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    6c19cb5 View commit details
    Browse the repository at this point in the history
  13. soc/intel/fsp_broadwell_de/vtd: Silence warning

    Silence PCI resource warning due to missing set_resources.
    
    Change-Id: I8253e9ca137bda1cdd1c06273679693c4b7803ec
    Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
    Reviewed-on: https://review.coreboot.org/c/30743
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    PatrickRudolph authored and siro20 committed Jan 10, 2019
    Copy the full SHA
    313e791 View commit details
    Browse the repository at this point in the history
  14. driver/spi/eon.c: Add the rest of >=1MB EON EN25 chips

    Required for ACPI S3 suspend support at some motherboards,
    e.g. EN25QH32 chip entry for AMD Lenovo G505S laptop.
    
    Signed-off-by: Mike Banon <mikebdp2@gmail.com>
    Change-Id: I8343a1741be5ea294de0773962c021428815934c
    Reviewed-on: https://review.coreboot.org/c/30744
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    mikebdp2 authored and pgeorgi committed Jan 10, 2019
    Copy the full SHA
    0421ea2 View commit details
    Browse the repository at this point in the history
  15. drivers/intel/fsp1_1: Add stack guards

    This allows to check if stack overflows the car globals.
    
    Change-Id: I369b2d846f35914facb3e69cc762f7e555271bec
    Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-on: https://review.coreboot.org/c/30751
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    ArthurHeymans authored and pgeorgi committed Jan 10, 2019
    Copy the full SHA
    61b22cb View commit details
    Browse the repository at this point in the history
  16. mb/google/sarien: Add PDR and RW_LEGACY_NVRAM to FMAP

    1) Add a Platform Data Region called SI_PDR which is allocated in the flash
    descriptor for this platform
    2) Add a DIAG_NVRAM region for use by the diagnostic payload for non-volatile
    storage.
    3) Encapsulate both RW_LEGACY and DIAG_NVRAM in a region called RW_DIAG
    so it is clear they are associated.
    4) Move the RW_DIAG region to the start of the RW region so that once we can
    re-enable a larger BIOS region this sub-region will be in the uncached area
    since it is not accessed on a normal boot.
    
    BUG=b:119435206
    TEST=tested on Arcada board to ensure expected regions are present
    
    Change-Id: Ieb8bc4cf70d0a931e4944210112cfaf5c543f9f3
    Signed-off-by: Duncan Laurie <dlaurie@google.com>
    Reviewed-on: https://review.coreboot.org/c/30755
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Simon Glass <sjg@chromium.org>
    Reviewed-by: Simon Glass <sjg@chromium.org>
    Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
    iceblink authored and pgeorgi committed Jan 10, 2019
    Copy the full SHA
    13f58e4 View commit details
    Browse the repository at this point in the history
  17. mb/foxconn/g41s-k: Add g41m variant

    Was tested with the following:
    - 2 DIMM slots
    - USB
    - Ethernet NIC
    - automatic fan control
    - Libgfxinit with VGA, DVI (HDMI slot unpopulated)
    - PS2 Keyboard
    - SATA
    - PEG
    - S3 resume
    
    What does not work:
    - Using the second DIMM slot on a channel
      G41 can only handle 2 ranks per channel and on this mainboard 1 rank
      per DIMM slot. Supporting this would require too much raminit rework
      and is not worth it (at least for me)
    
    Change-Id: I67784038ef929f561b82365f00db70a69c024321
    Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-on: https://review.coreboot.org/c/30242
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    ArthurHeymans authored and pgeorgi committed Jan 10, 2019
    Copy the full SHA
    f3e50fc View commit details
    Browse the repository at this point in the history
  18. google/kukui: Correct boardid init values

    From `boardid.h`, the uninitialized ID values should be BOARD_ID_INIT
    instead of BOARD_ID_UNKNOWN.
    
    BUG=b:80501386
    TEST=make; manually verified on Kukui P1
    
    Change-Id: Ie5267e575e38b92ec64a7317defbd00ee153fa0a
    Signed-off-by: Hung-Te Lin <hungte@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/30618
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: You-Cheng Syu <youcheng@google.com>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    hungte authored and pgeorgi committed Jan 10, 2019
    Copy the full SHA
    3f6e32a View commit details
    Browse the repository at this point in the history
  19. google/kukui: Complete board ID ADC values

    The ID from ADC on Kukui supports 16 different values and we should list
    all voltage values ahead.
    
    BUG=b:80501386
    TEST=make; manually verified on Kukui P1
    
    Change-Id: Ic3abe07abfe818ca68e180c262fd431d1167b801
    Signed-off-by: Hung-Te Lin <hungte@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/30619
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: You-Cheng Syu <youcheng@google.com>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    hungte authored and pgeorgi committed Jan 10, 2019
    Copy the full SHA
    a2333c3 View commit details
    Browse the repository at this point in the history
  20. google/kukui: Correct boardid sources and add sku_id

    Kukui is going to use ADC#4 as SKU ID, and utilizing EC BoardID as
    global board_id (i.e., board revision).
    
    BUG=b:122060615
    TEST=make; manually tested on Kukui P1 board.
    
    Change-Id: I7bba368c141a7ba6db11f24b8e8e7158f0fc729e
    Signed-off-by: Hung-Te Lin <hungte@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/30617
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: You-Cheng Syu <youcheng@google.com>
    Reviewed-by: Julius Werner <jwerner@chromium.org>
    hungte authored and pgeorgi committed Jan 10, 2019
    Copy the full SHA
    e7184b0 View commit details
    Browse the repository at this point in the history
  21. soc/intel/common/block: Move tco common functions into block/smbus

    This patch cleans soc/intel/{apl/cnl/icl/skl} by moving common soc
    code into common/block/smbus.
    
    BUG=b:78109109
    BRANCH=NONE
    TEST=Build and boot KBL/CNL/APL/ICL platform.
    
    Change-Id: I34b33922cafee9f31702587e0f9c03b64f0781b8
    Signed-off-by: Subrata Banik <subrata.banik@intel.com>
    Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
    Reviewed-on: https://review.coreboot.org/c/26166
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    subrata-b authored and pgeorgi committed Jan 10, 2019
    Copy the full SHA
    7bc4dc5 View commit details
    Browse the repository at this point in the history
  22. sb/intel/common: Show "Add EC firmware" only for boards that need it

    Most boards currently do not use EC firmware from SPI flash in the
    IFD, this hides this option by default and shows it only for boards
    that need it.
    
    A new config variable MAINBOARD_USES_IFD_EC_REGION is introduced to
    enable this option for boards that need it.
    
    The following list of boards requiring this was provided by
    Lijian Zhao:
    1. intel/cannonlake_rvp
    2. intel/coffeelake_rvp
    3. intel/icelake_rvp
    4. google/sarien
    5. google/hatch
    
    Change-Id: I52ab977319d99a23a5e982cc01479fe801e172a7
    Signed-off-by: Jan Tatje <jan@jnt.io>
    Reviewed-on: https://review.coreboot.org/c/30697
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
    jantatje authored and pgeorgi committed Jan 10, 2019
    Copy the full SHA
    82a4e27 View commit details
    Browse the repository at this point in the history
  23. device/pci_device: Do not break tree topology

    Fix regression introduced with commit
       ad7674e device: Introduce pcidev_on_root() and friends
    
    Function pci_scan_bus() breaks bus->children link
    in the devicetree topology while scanning a bus.
    While the scan is in progress, accessing PCI
    devices with number higher than what is being probed
    was not possible because new pcidev_on_root() relies
    on having proper topology present at any time.
    
    Change-Id: I7bb497f7390628dd2f0310b380f199783a888c4c
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30772
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    8712aa1 View commit details
    Browse the repository at this point in the history
  24. crossgcc: Update acpica to version 20190108

    changes in this version: https://acpica.org/node/164
    
    Change-Id: Iff7fb6990f69f658c41ec115a3383ec902d8300f
    Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
    Reviewed-on: https://review.coreboot.org/c/30773
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Georgi <pgeorgi@google.com>
    ElyesH authored and pgeorgi committed Jan 10, 2019
    Copy the full SHA
    75292a1 View commit details
    Browse the repository at this point in the history
  25. soc/intel/cannonlake: complete rename of TCO2_STS_SECOND_TO

    TCO2_STS_SECOND_TO was renamed to TCO_STS_SECOND_TO but one use
    slipped through.
    
    Change-Id: I9e3b1cc5cb2f319db35416edf6cea612d755d40a
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/30805
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    pgeorgi committed Jan 10, 2019
    Copy the full SHA
    4b2553e View commit details
    Browse the repository at this point in the history
  26. amdfam10 boards: Drop extern on apicid_sp5100

    The value get_bus_conf() initialises this value to is
    discarded.
    
    Change-Id: I8382861574e6f8ab52839169502a5af7c3742daa
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30780
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    22521ab View commit details
    Browse the repository at this point in the history
  27. sb/nvidia/ck804: Avoid confusion with PCI_ADDR()

    What you see in the table are not the PCI devices
    that will be written to. Use a helper CK804_DEV()
    to make you look twice what is actually done.
    
    Change-Id: I0ee244dacd6bbd0a88a5e6a5c634f381b0cf713d
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30781
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    43997b7 View commit details
    Browse the repository at this point in the history
  28. sb/nvidia/mcp55: Avoid confusion with PCI_ADDR()

    What you see in the table are not the PCI devices
    that will be written to. Use a helper MCP55_DEV()
    to make you look twice what is actually done.
    
    Change-Id: I1349af9f734aaabb576d1370ae29a56c91569a7c
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30782
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    9341566 View commit details
    Browse the repository at this point in the history
  29. amdfam10 boards: Simplify early resourcemap

    Purpose of the table is to load initial address maps
    on PCI function 0:18.1. Provide a macro of its own so
    it is clear no other PCI devfn is accessed here.
    
    Change-Id: Ic146207580a5625c4f6799693157b02422bef00a
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30783
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    20c2948 View commit details
    Browse the repository at this point in the history
  30. northbridge/amdfam10: Deal with PCI_ADDR() better

    PCI_ADDR() is tightly coupled with different setup_resource_map()
    variants so move the declaration away from global namespace.
    
    In the implementation of setup_resource_map() use the bottom
    12 bits as the register mask like the other variants do already.
    
    Change-Id: Iadedfe993621a4458ce8f12c5e98c8cee537d2db
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30784
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    kmalkki committed Jan 10, 2019
    Copy the full SHA
    ef62994 View commit details
    Browse the repository at this point in the history
  31. soc/intel/fsp_broadwell_de: Drop MICROCODE_BLOB_NOT_HOOKED_UP

    It's been hooked up in the meantime.
    
    Change-Id: I64176b09e375034189000ea4308c58771f0019a1
    Signed-off-by: Nico Huber <nico.huber@secunet.com>
    Reviewed-on: https://review.coreboot.org/c/30812
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    n-huber authored and i-c-o-n committed Jan 10, 2019
    Copy the full SHA
    835f5cf View commit details
    Browse the repository at this point in the history
  32. mainboard/google/octopus: configure EC_AP_INT_ODL

    Enable the EC_AP_INT_ODL interrupt on GPIO_134 for all octopus boards
    that support it. Also removing unnecessary IO standby support since we
    don't use this pin to wake up the SoC.
    
    BRANCH=octopus
    BUG=b:122552125,b:120679547
    TEST=CTS tests with changes
    
    Change-Id: I018864ae5fa400372b5b443e49828e8202b9aa4d
    Signed-off-by: Jett Rink <jettrink@chromium.org>
    Reviewed-on: https://review.coreboot.org/c/30788
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    Reviewed-by: Justin TerAvest <teravest@chromium.org>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Jett Rink authored and Martin Roth committed Jan 10, 2019
    Copy the full SHA
    2dbe51a View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2019

  1. arch/x86/lapic: Remove second stack poisoning

    It was already done once in c_start.S.
    
    Change-Id: I1cb0ea25251644dbd1127d177247a02ba52bb550
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30796
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Aaron Durbin <adurbin@chromium.org>
    kmalkki authored and reinauer committed Jan 11, 2019
    Copy the full SHA
    a706ad5 View commit details
    Browse the repository at this point in the history
  2. cpu/intel/microcode: Support update before CAR entry

    Change-Id: Ie3c2d2e1bc79dcaffd9901e17f83ceeaabd1d659
    Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30682
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    ArthurHeymans authored and pgeorgi committed Jan 11, 2019
    Copy the full SHA
    c6bf74e View commit details
    Browse the repository at this point in the history
  3. arch/x86/ebda: Don't trash the EBDA on the resume path

    Clearing the EBDA was introduced with b4aaaa "Prepare the BIOS data
    areas before device init." which states that the purpose of setting up
    these area's is just to make sure they are sane. On the S3 path doing
    this is not needed and can even thrash data set up by payloads (mostly
    SeaBIOS) that used that memory.
    
    Change-Id: I9c54156bd8247e8a34dec6edc27cfc2d33cde595
    Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-on: https://review.coreboot.org/c/30789
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    ArthurHeymans authored and i-c-o-n committed Jan 11, 2019
    Copy the full SHA
    804adaa View commit details
    Browse the repository at this point in the history
  4. console/Kconfig: Fix dependency of FIXED_UART_FOR_CONSOLE

    The Kconfig declaration for FIXED_UART_FOR_CONSOLE was accidentally
    placed inside an `if CONSOLE_SERIAL` in a96e66a (soc/intel: Clean mess
    around UART_DEBUG).
    
    TEST=Start a clean config, select intel/leafhill and disable serial
    console. Confirm that config can be saved without error.
    
    Change-Id: Ie41687e91af11a13697cbe25938dada2c74b40fb
    Signed-off-by: Nico Huber <nico.h@gmx.de>
    Reviewed-on: https://review.coreboot.org/c/30829
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    i-c-o-n authored and pgeorgi committed Jan 11, 2019
    Copy the full SHA
    da8c12b View commit details
    Browse the repository at this point in the history
  5. Revert "cpu/amd: Use get_option()"

    This reverts commit 6fffd70.
    
    Doing more tests on the Asus KGPE-D16, it seems to cause a reboot loop
    quite often. Therefore, revert the commit.
    
    The problem might be caused by the spinlocks used by `get_option()`, and
    which are not used by `read_option()`.
    
    Change-Id: Ic25129aa71c8e8e40a65bb2658de78005766fea8
    Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
    Reviewed-on: https://review.coreboot.org/c/30830
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Angel Pons <th3fanbus@gmail.com>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    paulmenzel authored and kmalkki committed Jan 11, 2019
    Copy the full SHA
    e0368b4 View commit details
    Browse the repository at this point in the history
  6. util/crossgcc: derive date and version from latest commit

    This way date and version are automatically updated when util/crossgcc
    was changed, the version contains the commit ID and we have less churn
    on these variables.
    
    Change-Id: I475ba9578a8bb421d7c342d2569d7de7fcf4161d
    Signed-off-by: Patrick Georgi <pgeorgi@google.com>
    Reviewed-on: https://review.coreboot.org/c/30804
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
    Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
    pgeorgi committed Jan 11, 2019
    Copy the full SHA
    5ce73e9 View commit details
    Browse the repository at this point in the history
  7. siemens/mc_apl1: Use INTEL_LPSS_UART_FOR_CONSOLE

    With the commit a96e66a (soc/intel: Clean mess around UART_DEBUG), an
    adjustment is necessary for this mainboard.
    
    Change-Id: I0fb6288959f8bcb45c4cc93cc132f31a5ab2a5ad
    Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com>
    Reviewed-on: https://review.coreboot.org/c/30836
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    mscheithauer authored and i-c-o-n committed Jan 11, 2019
    Copy the full SHA
    dd21736 View commit details
    Browse the repository at this point in the history
  8. soc/mainboard: Update mainboard UART Kconfig

    After f5ca922 (Untangle CBFS microcode updates) got merged, all
    mainboard using intel apollolake, cannonlake, coffeelake, glk,
    kabylake, skylake, icelake and whiskeylake get affected.
    Using INTEL_LPSS_UART_FOR_CONSOLE instead of UART_DEBUG
    and set default console for each platform.
    
    BUG=N/A
    TEST=Build and test on Sarien platform, by default we can still get
    console from cbmem, and enable CONSOLE_SERIAL can get logs from UART
    port 2.
    
    Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
    Change-Id: I550a00144cff21420537bb161c64e7a132c5d2de
    Reviewed-on: https://review.coreboot.org/c/30853
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    LijianZhao2017 authored and i-c-o-n committed Jan 11, 2019
    Copy the full SHA
    64925b5 View commit details
    Browse the repository at this point in the history
  9. src/drivers/intel/wifi: Add a W/A for Intel ThP2 9260

    This patch adds a workaround for ThP2. The PCIe root port LCTL2.TLS
    is by default GEN1 and ThP has bad synchronization on polarity
    inversion. When the root port request for speed change, ThP doesn’t
    confirm the request, and both sides are moving to polling after
    timeout, hot reset is issued, and then most of the CFG space is
    initialized. From the observation, CCC/ECPM/LTR would be reset to
    default but CCC/ECPM of root port and end devices have been
    reconfigured in pci_scan. The LTR configuration for root port
    is still missing.
    
    BUG=B:117618636
    BRANCH=None
    TEST=Warm/cold reset for 10 times and didn't see unsupported request
         related AER error messages & $lspci -vvs 00:1c.0|grep LTR and
         ensure LTR+ is presenti & $iotools pci_read32 0 0x1c 0 0x68
         and ensure bit10 is set.
    
    Change-Id: Id5d2814488fbc9db927edb2ead972b73ebc336ce
    Signed-off-by: Gaggery Tsai <gaggery.tsai@intel.com>
    Reviewed-on: https://review.coreboot.org/c/30486
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Patrick Rudolph <siro@das-labor.org>
    Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
    TsaiGaggery authored and Duncan Laurie committed Jan 11, 2019
    Copy the full SHA
    3afb84a View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2019

  1. soc/intel/cannonlake: Hook up Microcode

    Hook Coffeelake U43e and Coffeelake H/S/E3 microcode into SOC and remove
    the MICROCODE_BLOB_NOT_HOOKED_UP.
    
    BUG=N/A
    TEST=Boot up with coffeelake rvp board and check microcode revision in
    coreboot log.
    
    Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
    Change-Id: I6593081374dd4898a82db5b43c3b5bf154b3ef60
    Reviewed-on: https://review.coreboot.org/c/30864
    Reviewed-by: Nico Huber <nico.h@gmx.de>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    LijianZhao2017 authored and i-c-o-n committed Jan 12, 2019
    Copy the full SHA
    f9154c5 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2019

  1. cpu/intel/car/p4: Update microcode in CAR setup

    This updates the BSP microcode during CAR setup.
    
    Change-Id: I87d34cf38dbd700ecb04d87c5b4767910e4a922c
    Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
    Reviewed-on: https://review.coreboot.org/c/30682
    Reviewed-on: https://review.coreboot.org/c/30777
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    ArthurHeymans authored and kmalkki committed Jan 13, 2019
    Copy the full SHA
    95b3ba5 View commit details
    Browse the repository at this point in the history
  2. arch/x86: Drop Kconfig AP_SIPI_VECTOR

    This was used to check romcc-built bootblock and romstage
    agree about the location of 16-bit entrypoint. There was
    no need to customize it as bootblock size requirement did
    not grow. Just check for a fixed location at 4 GiB - 4 KiB.
    
    With C_ENVIRONMENT_BOOTBLOCK we can have a proper symbol
    for the purpose, since it appears in the same compilation
    unit. It will adjust if C_ENV_BOOTBLOCK_SIZE changes.
    
    Change-Id: I93f3c37e78ba587455c804de8c57e7e06832a81f
    Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
    Reviewed-on: https://review.coreboot.org/c/30854
    Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
    Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
    kmalkki committed Jan 13, 2019
    Copy the full SHA
    3485657 View commit details
    Browse the repository at this point in the history