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

Neil Armstrong neil.armstrong at linaro.org
Mon May 18 16:38:09 CEST 2026


On 5/4/26 20:57, 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(+)
> 
> 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
> 

Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>

Thanks,
Neil


More information about the U-Boot mailing list