summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2019-05-15 19:06:58 +0200
committerJulius Werner <jwerner@chromium.org>2019-05-17 20:19:03 +0000
commitf85f2f87465a50ff9572f4e3039c01105494f60a (patch)
tree1d87ffb1dfc5942a092bf8e4d01d7e8a77dcfa5c
parent997207d9a663a74a5b1ed4499fd7b1ce83494d78 (diff)
soc/qualcomm/sdm845: Fix broken Kconfig
This fixes the following changes, which made qualcomm Kconfig appear on all platforms: bd0b51c0be1ec2c9a5f02de3c13108c13941e2c2 7a3e46d767890f502b09771e19decc5033e27079 Use proper Kconfig logic. Change-Id: I0195fd186ac39dd4258fe0781dd6d3d1b1d1679f Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32805 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/qualcomm/common/Kconfig10
-rw-r--r--src/soc/qualcomm/sdm845/Kconfig1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/qualcomm/common/Kconfig b/src/soc/qualcomm/common/Kconfig
index f3d12629fb..8a1f6d62fd 100644
--- a/src/soc/qualcomm/common/Kconfig
+++ b/src/soc/qualcomm/common/Kconfig
@@ -1,5 +1,15 @@
+config SOC_QUALCOMM_COMMON
+ bool
+ default n
+ help
+ Selected by platforms that use the common code.
+
+if SOC_QUALCOMM_COMMON
+
config QC_SDI_ENABLE
bool
default n
prompt "Debug Build: enable SDI"
+
+endif
diff --git a/src/soc/qualcomm/sdm845/Kconfig b/src/soc/qualcomm/sdm845/Kconfig
index ffb95cb4cd..f6268c95ba 100644
--- a/src/soc/qualcomm/sdm845/Kconfig
+++ b/src/soc/qualcomm/sdm845/Kconfig
@@ -10,6 +10,7 @@ config SOC_QUALCOMM_SDM845
select GENERIC_UDELAY
select HAVE_MONOTONIC_TIMER
select ARM64_USE_ARCH_TIMER
+ select SOC_QUALCOMM_COMMON
if SOC_QUALCOMM_SDM845