drivers: soc: Add new config option for SOC_INFO

Add a new config option for SOC_INFO so that drivers
can check for the feature and only enable the code
in case it this is defined.

Change-Id: I73d889a55d90440b060ece4339aa3f28de05ab0a
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
tirimbino
Gustavo Solaira 5 years ago
parent 76d800d3ee
commit f0cce21f86
  1. 10
      drivers/soc/qcom/Kconfig
  2. 2
      drivers/soc/qcom/Makefile

@ -923,6 +923,16 @@ config MSM_BAM_DMUX
provides a means to support more logical channels
via muxing than BAM could without muxing.
config QCOM_SOC_INFO
bool "Chip information for QTI SoCs"
depends on SOC_BUS
default y
help
This driver provides information about the SoC and chip information such
as the chip ID and revision. Information includes decoding the chip name
based on the chip ID and querying the SoC revision. This information is
loaded by the bootloader into SMEM during the boot up process.
endmenu
config QCOM_HYP_CORE_CTL

@ -31,7 +31,7 @@ CFLAGS_scm.o :=$(call as-instr,.arch_extension sec,-DREQUIRES_SEC=1)
obj-$(CONFIG_QCOM_SCM) += scm.o scm-boot.o
obj-$(CONFIG_QCOM_SCM_QCPE) += scm_qcpe.o
obj-$(CONFIG_QCOM_EARLY_RANDOM) += early_random.o
obj-$(CONFIG_SOC_BUS) += socinfo.o
obj-$(CONFIG_QCOM_SOC_INFO) += socinfo.o
obj-$(CONFIG_MSM_BOOT_STATS) += boot_stats.o
obj-$(CONFIG_MSM_BOOT_TIME_MARKER) += boot_marker.o
obj-$(CONFIG_MSM_CORE_HANG_DETECT) += core_hang_detect.o

Loading…
Cancel
Save