summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc/Makefile
diff options
context:
space:
mode:
authorMatt Redfearn <matt.redfearn@imgtec.com>2016-10-19 14:05:47 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2016-11-01 01:24:46 +0100
commit2aefbef041498182ce1d186ed2300298b7a7101a (patch)
treec3e2a7b798fd8ad940140b061557a637bfb18ea4 /drivers/remoteproc/Makefile
parentremoteproc: qcom: wcnss_iris: Fix module autoload (diff)
downloadlinux-2aefbef041498182ce1d186ed2300298b7a7101a.tar.xz
linux-2aefbef041498182ce1d186ed2300298b7a7101a.zip
remoteproc: Add a sysfs interface for firmware and state
This patch adds a sysfs interface to rproc allowing the firmware name and processor state to be changed dynamically. State was previously available in debugfs, and is replicated here. The firmware file allows retrieval of the running firmware name, and a new one to be specified at run time, so long as the remote processor has been stopped. Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/Makefile')
-rw-r--r--drivers/remoteproc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/remoteproc/Makefile b/drivers/remoteproc/Makefile
index 6dfb62ed643f..6da9b12f9798 100644
--- a/drivers/remoteproc/Makefile
+++ b/drivers/remoteproc/Makefile
@@ -5,6 +5,7 @@
obj-$(CONFIG_REMOTEPROC) += remoteproc.o
remoteproc-y := remoteproc_core.o
remoteproc-y += remoteproc_debugfs.o
+remoteproc-y += remoteproc_sysfs.o
remoteproc-y += remoteproc_virtio.o
remoteproc-y += remoteproc_elf_loader.o
obj-$(CONFIG_OMAP_REMOTEPROC) += omap_remoteproc.o