[PATCH v2 11/15] soc: qcom: smem: add build infra

Sumit Garg sumit.garg at kernel.org
Mon May 18 14:53:12 CEST 2026


On Mon, May 04, 2026 at 08:57:39PM +0200, Casey Connolly wrote:
> 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: Casey Connolly <casey.connolly at linaro.org>
> ---
>  drivers/soc/qcom/Kconfig  | 8 ++++++++
>  drivers/soc/qcom/Makefile | 1 +
>  2 files changed, 9 insertions(+)

Reviewed-by: Sumit Garg <sumit.garg at oss.qualcomm.com>

-Sumit

> 
> diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
> index 8243805e46a3..cdd9e30f43e5 100644
> --- a/drivers/soc/qcom/Kconfig
> +++ b/drivers/soc/qcom/Kconfig
> @@ -24,5 +24,13 @@ config QCOM_RPMH
>  	help
>  	  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
> diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile
> index 78fae8bbfa16..f4102f9155a8 100644
> --- a/drivers/soc/qcom/Makefile
> +++ b/drivers/soc/qcom/Makefile
> @@ -1,4 +1,5 @@
>  # SPDX-License-Identifier: GPL-2.0+
>  
>  obj-$(CONFIG_QCOM_COMMAND_DB) += cmd-db.o
>  obj-$(CONFIG_QCOM_RPMH) += rpmh-rsc.o rpmh.o
> +obj-$(CONFIG_QCOM_SMEM) += smem.o
> 
> -- 
> 2.53.0
> 


More information about the U-Boot mailing list