coreboot/src
Rizwan Qureshi 8aadab7e96 soc/intel/cannonlake: Add a config for configuring SD_VDD1_PWR_EN#
SD controller in CNL-PCH provides a ability to configure the behavior of
SD_VDD1_PWR_EN# as an active high or low signal. FSP provides an UPD
"SdCardPowerEnableActiveHigh" to control the same.

However, for platforms using SD_VDD1_PWR_EN# as active high, the SDXC
card connector is always powered and may impact system power. This is because
SD_VDD1_PWR_EN# does not de-assert during SDXC D3 or when SD card is not
inserted.

Workaround is to change the pad ownership of SD_VDD1_PWR_EN to GPIO and
force the TX buffer to low in _PS3. And restore the pad mode to native
function in _PS0.

Hence add a Kconfig option to update the UPD, which the board can select
based on how the SD_VDD1_PWR_EN is implemented on it. And, the workaround
gets applied based on this config.

BUG=b:123350329

Change-Id: Iee262d7ecdf8c31362aec3d95dd9b3e8359e0c25
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/c/31445
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-02-27 11:05:13 +00:00
..
acpi arch/x86: Add common AMD ACPI hardware definitions 2017-11-10 19:15:38 +00:00
arch ACPI: Fill asl_compiler_revision field left empty 2019-02-26 17:53:31 +00:00
commonlib commonlib: Add Bubble sort algorithm 2019-02-26 11:14:41 +00:00
console device/pci_early.c: Drop some guards 2019-02-11 11:32:20 +00:00
cpu security/vboot: Add measured boot mode 2019-02-25 22:29:16 +00:00
device src/device/Kconfig: Change default VESA mode from 117h to 118h 2019-02-25 11:21:19 +00:00
drivers drivers/intel/fsp2_0: Update dependency of USE_FSP_REPO 2019-02-23 14:25:31 +00:00
ec ec/google/chromeec: Clarify return value of google_chromeec_command 2019-02-26 11:19:14 +00:00
include Add missing u8 eos[2] declaration to struct smbios_type38 2019-02-26 21:41:20 +00:00
lib security/vboot: Add measured boot mode 2019-02-25 22:29:16 +00:00
mainboard mb/google/hatch: update SD card detect GPIO 2019-02-27 11:04:29 +00:00
northbridge nb/intel/nehalem: Remove CAR_GLOBAL use 2019-02-12 22:16:42 +00:00
security security/vboot: Add measured boot mode 2019-02-25 22:29:16 +00:00
soc soc/intel/cannonlake: Add a config for configuring SD_VDD1_PWR_EN# 2019-02-27 11:05:13 +00:00
southbridge sb/amd/hudson/acpi: Fix illegal object references 2019-02-25 11:17:54 +00:00
superio superio/nsc/pc87417: Use common early_serial 2019-02-14 07:54:55 +00:00
vendorcode AGESA vendorcode: Define libagesa rule just once 2019-02-25 11:16:52 +00:00
Kconfig Kconfig: Add system type entries for common enclosures 2019-02-05 16:03:29 +00:00