[coreboot-gerrit] Change in coreboot[master]: src/soc/intel/braswell/acpi/southcluster.asl: Remove disabled LPEdevices

Frans Hendriks (Code Review) gerrit at coreboot.org
Wed Oct 31 11:55:04 CET 2018


Frans Hendriks has uploaded this change for review. ( https://review.coreboot.org/29373


Change subject: src/soc/intel/braswell/acpi/southcluster.asl: Remove disabled LPEdevices
......................................................................

src/soc/intel/braswell/acpi/southcluster.asl: Remove disabled LPEdevices

ACPI code for LPE devices enabled, but devcies are disabled on the platform
Remove the LPE devices when these are disabled.

BUG=N/A
TEST=Intel CherryHill CRB

Change-Id: I9973ba88df82c61863d16a7b4f3955af2efb7a0d
Signed-off-by: Frans Hendriks <fhendriks at eltan.com>
---
M src/soc/intel/braswell/Kconfig
M src/soc/intel/braswell/acpi/southcluster.asl
2 files changed, 9 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/29373/1

diff --git a/src/soc/intel/braswell/Kconfig b/src/soc/intel/braswell/Kconfig
index 2ba7992..6e3adcd 100644
--- a/src/soc/intel/braswell/Kconfig
+++ b/src/soc/intel/braswell/Kconfig
@@ -127,4 +127,10 @@
 	string
 	default "soc/intel/braswell/bootblock/timestamp.inc"
 
+config ENABLE_LPE_DEVICES
+	bool "Include ASL code for LPE devices"
+	default y
+	help
+		Enable this if the LPE interfaces are supported
+
 endif
diff --git a/src/soc/intel/braswell/acpi/southcluster.asl b/src/soc/intel/braswell/acpi/southcluster.asl
index f7e3168..7ec8c54 100644
--- a/src/soc/intel/braswell/acpi/southcluster.asl
+++ b/src/soc/intel/braswell/acpi/southcluster.asl
@@ -2,6 +2,7 @@
  * This file is part of the coreboot project.
  *
  * Copyright (C) 2013 Google Inc.
+ * Copyright (C) 2018 Eltan B.V.
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
@@ -287,6 +288,8 @@
 	/* SCC Devices */
 	#include "scc.asl"
 
+#if IS_ENABLED(CONFIG_ENABLE_LPE_DEVICES)
 	/* LPE Device */
 	#include "lpe.asl"
+#endif
 }

-- 
To view, visit https://review.coreboot.org/29373
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9973ba88df82c61863d16a7b4f3955af2efb7a0d
Gerrit-Change-Number: 29373
Gerrit-PatchSet: 1
Gerrit-Owner: Frans Hendriks <fhendriks at eltan.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181031/5af08a3f/attachment-0001.html>


More information about the coreboot-gerrit mailing list