From 654dd4a84e2ef95063dc8389f56f91494a34fce3 Mon Sep 17 00:00:00 2001 From: Ramon Fried Date: Mon, 2 Jul 2018 02:57:56 +0300 Subject: 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 Signed-off-by: Ramon Fried Reviewed-by: Simon Glass --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/Kconfig') diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 64d58a6..376851e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -754,6 +754,8 @@ config ARCH_SNAPDRAGON select SPMI select OF_CONTROL select OF_SEPARATE + select SMEM + select MSM_SMEM config ARCH_SOCFPGA bool "Altera SOCFPGA family" -- cgit v1.1