[PATCH v6 06/11] spl: Include SMEM driver in SPL
Casey Connolly
casey.connolly at linaro.org
Tue Jun 30 13:36:26 CEST 2026
Hi,
On 6/23/26 08:47, Varadarajan Narayanan wrote:
> Add SPL_SMEM config to enable/disable SMEM driver in SPL.
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan at oss.qualcomm.com>
> ---
> v3: Pick R-b Simon
> ---
> common/spl/Kconfig | 8 ++++++++
> drivers/Makefile | 1 +
> 2 files changed, 9 insertions(+)
>
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index 5fa94098e49..88db96807b0 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -1387,6 +1387,14 @@ config SPL_RAM_DEVICE
> be already in memory when SPL takes over, e.g. loaded by the boot
> ROM.
>
> +config SPL_SMEM
> + bool "Support SMEM (Shared Memory manager)"
> + depends on SMEM
> + help
> + Enable support for the Shared Memory Manager. The driver provides an
> + interface to items in a heap shared among all processors. This enables
> + the drivers in drivers/smem as part of an SPL build.
> +
> config SPL_PCI_DFU
> bool "PCIe boot support"
> depends on SPL_PCI_ENDPOINT
> diff --git a/drivers/Makefile b/drivers/Makefile
> index 43d0ba33281..ead082450ca 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -74,6 +74,7 @@ obj-$(CONFIG_SPL_SATA) += ata/ scsi/
> obj-$(CONFIG_SPL_LEGACY_BLOCK) += block/
> obj-$(CONFIG_SPL_THERMAL) += thermal/
> obj-$(CONFIG_SPL_UFS_SUPPORT) += scsi/ ufs/
> +obj-$(CONFIG_SPL_SMEM) += smem/
As I mentioned several times, SMEM support is being reworked. It
unfortunately took a bit longer than I hoped but I picked it for
qcom-next last week, I'm also picking up the sdm845 SPL patches so
please wait a day or so and then rebase this series on that.
https://source.denx.de/u-boot/custodians/u-boot-snapdragon
Thanks,
Casey
>
> endif
> endif
More information about the U-Boot
mailing list