soc: qcom: smem: add build infra

Build the new SMEM driver port, and select it when ARCH_SNAPDRAGON is
selected, since it will be a hard dependency for Qualcomm platforms.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Caleb Connolly
2024-11-24 20:17:52 +01:00
committed by Simon Glass
parent 17af3e9e83
commit ab606d987b
2 changed files with 9 additions and 0 deletions

View File

@@ -24,4 +24,12 @@ config QCOM_RPMH
Say y here to support the Qualcomm RPMh (resource peripheral manager)
if you need to control regulators on Qualcomm platforms, say y here.
config QCOM_SMEM
bool "Qualcomm SMEM support"
help
Say y here to support the Qualcomm SMEM (shared memory) client driver.
SMEM is a shared memory region that is used to pass information about
the hardware (e.g. DRAM layout, PMIC configuration, etc) between bootloader
staged and the OS. If in doubt, say y.
endif # SOC_QCOM

View File

@@ -2,3 +2,4 @@
obj-$(CONFIG_QCOM_COMMAND_DB) += cmd-db.o
obj-$(CONFIG_QCOM_RPMH) += rpmh-rsc.o rpmh.o
obj-$(CONFIG_QCOM_SMEM) += smem.o