summaryrefslogtreecommitdiffstats
path: root/drivers/soc/ti/knav_qmss.h
diff options
context:
space:
mode:
authorMurali Karicheri <m-karicheri2@ti.com>2015-10-13 13:49:04 -0700
committerSantosh Shilimkar <ssantosh@kernel.org>2015-10-13 13:49:04 -0700
commit045016902bf7abeeb2a86fc9284c30dce228f055 (patch)
tree5d3555a274a3f27b79c46cdd7ac43ea0bca466c9 /drivers/soc/ti/knav_qmss.h
parent96ee19becc3bd7b2cebae5828c3eacfebb50b993 (diff)
downloadblackbird-op-linux-045016902bf7abeeb2a86fc9284c30dce228f055.tar.gz
blackbird-op-linux-045016902bf7abeeb2a86fc9284c30dce228f055.zip
soc: ti: qmss: make acc queue support optional in the driver
acc channels are available only if accumulator PDSP is loaded and running in the SoC. As this requires firmware and user may not have firmware in the file system, make the accumulator queue support available in qmss driver optional. To use accumulator queus user needs to add firmware to the file system and boot up kernel. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Diffstat (limited to 'drivers/soc/ti/knav_qmss.h')
-rw-r--r--drivers/soc/ti/knav_qmss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/soc/ti/knav_qmss.h b/drivers/soc/ti/knav_qmss.h
index c31b8d826794..6ff936cacb70 100644
--- a/drivers/soc/ti/knav_qmss.h
+++ b/drivers/soc/ti/knav_qmss.h
@@ -137,6 +137,8 @@ struct knav_pdsp_info {
u32 __iomem *iram;
u32 id;
struct list_head list;
+ bool loaded;
+ bool started;
};
struct knav_qmgr_info {
OpenPOWER on IntegriCloud