soc: qualcomm: Add Shared Memory Manager driver
authorRamon Fried <ramon.fried@gmail.com>
Sun, 1 Jul 2018 23:57:56 +0000 (02:57 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 19 Jul 2018 20:31:37 +0000 (16:31 -0400)
commit654dd4a84e2ef95063dc8389f56f91494a34fce3
treeffd30b87b764f9f6e1879ea31271a4126e57d5e5
parent7b384eccc785b596f68448b155cbda26df57fb23
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>
MAINTAINERS
arch/arm/Kconfig
drivers/Kconfig
drivers/smem/Kconfig
drivers/smem/Makefile
drivers/smem/msm_smem.c [new file with mode: 0644]