From 79a219813b3e8186f5e89b2e0cd9f8a921fa088f Mon Sep 17 00:00:00 2001 From: Daniel Kang Date: Thu, 19 Mar 2020 14:12:30 -0700 Subject: [PATCH] src/mb/intel/tglrvp: Fix board config flag for TGL-UP4 camera ACPI Camera ACPI had an incorrect board config flag for TGL-UP4. BUG=None BRANCH=None TEST=Build and boot TGLRVP-UP3 or UP4. Start camera app and able to capture images. Signed-off-by: Daniel Kang Change-Id: Ided0e146a9240169d3f1f27a86218ac1a942b899 Signed-off-by: Daniel Kang Reviewed-on: https://review.coreboot.org/c/coreboot/+/39682 Tested-by: build bot (Jenkins) Reviewed-by: Wonkyu Kim --- src/mainboard/intel/tglrvp/acpi/mipi_camera.asl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl b/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl index 9cb8817098..de26fd9d05 100644 --- a/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl +++ b/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl @@ -390,10 +390,10 @@ Scope (\_SB.PCI0.I2C5) CTXS(GPP_H12) /* Pull PWREN high */ -#if CONFIG_BOARD_INTEL_TIGERLAKE_RVPY - STXS(GPP_E22) +#if CONFIG(BOARD_INTEL_TGLRVP_UP4) + STXS(GPP_E22) #else - STXS(GPP_R6) + STXS(GPP_R6) #endif Sleep(2) /* reset pulse width */ @@ -416,8 +416,8 @@ Scope (\_SB.PCI0.I2C5) CTXS(GPP_H12) /* Pull PWREN low */ -#if CONFIG_BOARD_INTEL_TIGERLAKE_RVPY - CTXS(GPP_E22) +#if CONFIG(BOARD_INTEL_TGLRVP_UP4) + CTXS(GPP_E22) #else CTXS(GPP_R6) #endif