[U-Boot] [PATCH v5 2/6] soc: qualcomm: Add Shared Memory Manager driver
Simon Glass
sjg at chromium.org
Mon Jul 9 02:35:29 UTC 2018
On 1 July 2018 at 16:57, Ramon Fried <ramon.fried at gmail.com> wrote:
> 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 at linaro.org>
> Signed-off-by: Ramon Fried <ramon.fried at gmail.com>
>
> ---
>
> Changes in v5: None
> Changes in v4: None
> Changes in v3:
> - Removed license, SPDX is enough.
> - Text and grammar fixes.
>
> Changes in v2:
> - Applied checkpatch fixes (also sent these to Linux upstream)
> - Changed UCLASS_SOC to UCLASS_SMEM
> - Removed function exports and registered functionality through .ops
>
> MAINTAINERS | 1 +
> arch/arm/Kconfig | 2 +
> drivers/Kconfig | 2 +
> drivers/smem/Kconfig | 13 +
> drivers/smem/Makefile | 1 +
> drivers/smem/msm_smem.c | 932 ++++++++++++++++++++++++++++++++++++++++
> 6 files changed, 951 insertions(+)
> create mode 100644 drivers/smem/msm_smem.c
I don't see a change log for this version so I suppose it is the same.
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list