Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ad5497d authored by Neeti Desai's avatar Neeti Desai Committed by Matt Wagantall
Browse files

msm: Move the secure_buffer.c file to a new location



The secure_buffer.c files does not have anything specific
to ion. The functions defined here might be needed by other
drivers as well. If the ion driver is disabled that might
not work. So move the file to a new location.

Change-Id: I3498de791c01019b7933feb65d196152887fcf24
Signed-off-by: default avatarNeeti Desai <neetid@codeaurora.org>
parent 1068a5de
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -503,4 +503,12 @@ config MSM_SHARED_HEAP_ACCESS
	 Enable support to provide access to clients to certain HLOS regions
	 which are protected by the secure environment.

config MSM_SECURE_BUFFER
	bool "Helper functions for securing buffers through TZ"
	help
	 Say 'Y' here for targets that need to call into TZ to secure
	 memory buffers. This ensures that only the correct clients can
	 use this memory and no unauthorized access is made to the
	 buffer

endif # ARCH_MSM
+1 −0
Original line number Diff line number Diff line
@@ -59,3 +59,4 @@ ifdef CONFIG_MSM_SUBSYSTEM_RESTART
	obj-y += ramdump.o
endif
obj-$(CONFIG_MSM_SYSMON_COMM) += sysmon.o sysmon-qmi.o
obj-$(CONFIG_MSM_SECURE_BUFFER) += secure_buffer.o
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ config ION_TEGRA
config ION_MSM
	tristate "Ion for MSM"
	depends on ARCH_MSM && ION
	select MSM_SECURE_BUFFER
	help
	  Choose this option if you wish to use ion on an MSM target.

+1 −1
Original line number Diff line number Diff line
obj-y += msm_ion.o secure_buffer.o
obj-y += msm_ion.o
ifdef CONFIG_COMPAT
obj-y += compat_msm_ion.o
endif