diff options
author | Ramon Fried <ramon.fried@gmail.com> | 2018-07-02 02:57:56 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-19 16:31:37 -0400 |
commit | 654dd4a84e2ef95063dc8389f56f91494a34fce3 (patch) | |
tree | ffd30b87b764f9f6e1879ea31271a4126e57d5e5 /drivers/smem/Kconfig | |
parent | 7b384eccc785b596f68448b155cbda26df57fb23 (diff) | |
download | u-boot-654dd4a84e2ef95063dc8389f56f91494a34fce3.tar.gz |
soc: qualcomm: Add Shared Memory Manager driver
The Shared Memory Manager driver implements an interface for allocating
and accessing items in the memory area shared among all of the
processors in a Qualcomm platform.
Adapted from the Linux driver (4.17)
Changes from the original Linux driver:
* Removed HW spinlock mechanism, which is irrelevant
in U-boot particualar use case, which is just reading from the smem.
* Adapted from Linux driver model to U-Boot's.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/smem/Kconfig')
-rw-r--r-- | drivers/smem/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/smem/Kconfig b/drivers/smem/Kconfig index 64337a8b8e..6cf5a4e61e 100644 --- a/drivers/smem/Kconfig +++ b/drivers/smem/Kconfig @@ -1,2 +1,15 @@ menuconfig SMEM bool "SMEM (Shared Memory mamanger) support" + +if SMEM + +config MSM_SMEM + bool "Qualcomm Shared Memory Manager (SMEM)" + depends on DM + depends on ARCH_SNAPDRAGON + help + Enable support for the Qualcomm Shared Memory Manager. + The driver provides an interface to items in a heap shared among all + processors in a Qualcomm platform. + +endif # menu "SMEM Support" |