switch-coreboot/src
Matt DeVillier ff4d234494 UPSTREAM: lynxpoint/broadwell: fix PCH power optimizer
Setting both bits 27 and 7 of PCH register PMSYNC_CFG (PMSYNC
Configuration; offset 0x33c8) causes pre-OS display init to fail
on HSW-U/Lynxpoint and BDW-U ChromeOS devices when the VBIOS/GOP
driver is run after the register is set. A re-examination of
Intel's reference code reveals that bit 7 should be set for the
LP PCH, and bit 27 for non-LP, but not both simultaneously.

The previous workaround was to disable the entire power optimizer
section via a Kconfig option, which isn't ideal.

Test: unset bit 27 of PMSYNC_CFG and boot google/lulu,
observe functional pre-OS video output

BUG=none
BRANCH=none
TEST=none

Change-Id: Ie0cc1b294a4f8722bdd3a79faef1516f503d2e03
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: c97e042a9b
Original-Change-Id: I446e169d23dd446710a1648f0a9b9599568b80aa
Original-Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Original-Reviewed-on: https://review.coreboot.org/18385
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Martin Roth <martinroth@google.com>
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/445153
2017-02-21 06:44:28 -08:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: riscv: Suppress invalid coverity errors 2017-02-21 06:44:26 -08:00
commonlib UPSTREAM: buildsystem: Drop explicit (k)config.h includes 2016-12-09 03:29:54 -08:00
console UPSTREAM: console: Enable do_printk_va_list for VBOOT 2017-01-05 11:00:16 -08:00
cpu UPSTREAM: cpu/intel/model_6fx: Add Conroe-L to cpu_device_id list 2017-01-13 15:22:22 -08:00
device UPSTREAM: device: Add scan_generic_bus support 2017-02-18 03:10:56 -08:00
drivers UPSTREAM: src/drivers/pc80: Update vga_font_8x16.c to be non-binary 2017-02-21 06:44:26 -08:00
ec UPSTREAM: ec/google/chromeec: let platform prepare for reboot when resetting EC 2017-02-08 07:27:11 -08:00
include UPSTREAM: device: Add scan_generic_bus support 2017-02-18 03:10:56 -08:00
lib UPSTREAM: ddr3 spd: move accessor code into lib/spd_bin.c 2017-02-13 10:01:11 -08:00
mainboard UPSTREAM: mb/lenovo/t400: Implement hybrid graphic in romstage 2017-02-21 06:44:26 -08:00
northbridge UPSTREAM: nb/i945/raminit: sdram_set_channel_mode Test if DIMM slot 3 is populated 2017-02-21 06:44:27 -08:00
soc UPSTREAM: lynxpoint/broadwell: fix PCH power optimizer 2017-02-21 06:44:28 -08:00
southbridge UPSTREAM: lynxpoint/broadwell: fix PCH power optimizer 2017-02-21 06:44:28 -08:00
superio UPSTREAM: sio/ite/it8783ef: Return (0) in ACPI _PSC methods 2016-12-16 04:50:43 -08:00
vboot UPSTREAM: build system: mark sub-make invocations as parallelizable 2017-01-31 17:07:38 -08:00
vendorcode UPSTREAM: AGESA: Remove nonexistent include path 2017-02-17 04:09:17 -08:00
Kconfig UPSTREAM: src/Kconfig: Move bootblock behavior to arch/x86 as TODO suggested 2017-02-17 04:09:21 -08:00