mb/google/poppy/variants/nami: Disable FPMCU for non-fingerprint variants
Even fingerprint device probe failed on non-fingerpint boards,the CRFP driver still register the device that cause the GPE#1 as wake source every time. Override devicetree for non-fingerpirnt variants to avoid unexpected wake event(GPE#1). BUG=b:129650040 BRANCH=firmware-nami-10775.108.B TEST=Boots to OS and check no GPE#1 wake event from eventlog when S0ix exit. Signed-off-by: Ivy Jian <ivy_jian@compal.corp-partner.google.com> Change-Id: I6fa96e04a34e296889414b96a8c604fc61b8a236 Reviewed-on: https://review.coreboot.org/c/coreboot/+/33017 Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Reviewed-by: John Su <john_su@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
23fbd052b9
commit
b80d1324d3
|
@ -238,6 +238,7 @@ void variant_devtree_update(void)
|
|||
struct device *root = SA_DEV_ROOT;
|
||||
config_t *cfg = root->chip_info;
|
||||
uint8_t pl2_id = PL2_ID_DEFAULT;
|
||||
struct device *spi_fpmcu = PCH_DEV_GSPI1;
|
||||
|
||||
switch (sku_id) {
|
||||
case SKU_0_SONA:
|
||||
|
@ -260,6 +261,7 @@ void variant_devtree_update(void)
|
|||
case SKU_3_PANTHEON:
|
||||
case SKU_4_PANTHEON:
|
||||
cfg->usb2_ports[5].enable = 0;
|
||||
spi_fpmcu->enabled = 0;
|
||||
break;
|
||||
case SKU_0_BARD:
|
||||
case SKU_1_BARD:
|
||||
|
|
Loading…
Reference in New Issue