aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/dsdt.asl
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2017-12-04 12:43:19 -0800
committerFurquan Shaikh <furquan@google.com>2017-12-06 18:24:13 +0000
commitfc20ee43d77f3dbfdf9f9394b670541b2efbd1e3 (patch)
treed8f83571b12c8a0b2fc29287b6339fd23661ebc4 /src/mainboard/google/poppy/dsdt.asl
parente7b0dcea7db652692489714f799221e0afae30eb (diff)
mb/google/poppy: Add config option for camera ACPI support
This change adds a new config option VARIANT_HAS_CAMERA_ACPI to allow variants to define ACPI tables for camera support. It also prevents boards that do not need this from unnecessarily providing dummy files for camera ACPI support. Change-Id: I91f8e407e0f021071eeadbde8c2695e2a6d69e06 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/22702 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/poppy/dsdt.asl')
-rw-r--r--src/mainboard/google/poppy/dsdt.asl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/dsdt.asl b/src/mainboard/google/poppy/dsdt.asl
index ec45247b08..a922d10f97 100644
--- a/src/mainboard/google/poppy/dsdt.asl
+++ b/src/mainboard/google/poppy/dsdt.asl
@@ -49,8 +49,10 @@ DefinitionBlock(
}
}
+#if IS_ENABLED(CONFIG_VARIANT_HAS_CAMERA_ACPI)
/* Camera */
#include <variant/acpi/camera.asl>
+#endif
/* Chrome OS specific */
#include <vendorcode/google/chromeos/acpi/chromeos.asl>