summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubramaniam C.A <subramaniam.ca@ti.com>2011-10-25 10:51:16 +0800
committerAndy Green <andy.green@linaro.org>2011-10-25 10:51:16 +0800
commit1c581bc0fcd558027e93f46305d2f4fb6a6df1db (patch)
tree57c91294857ea868cb1c722e670824d9343d8249
parente40c3b1757e0d653d281bb15657fc8a935ddf9eb (diff)
SYSLINK: Migrate build changes for adding iommu-debug and enable hibernation
This patch enables hibernation by default and also adds build support for iommu-debug.The patch is a port of these additions from 2.6.35 omap android kernel. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Leed Aguilar <leed.aguilar@ti.com> Signed-off-by: C A Subramaniam <subramaniam.ca@ti.com>
-rw-r--r--drivers/dsp/syslink/Kconfig2
-rw-r--r--drivers/dsp/syslink/multicore_ipc/Kbuild5
2 files changed, 6 insertions, 1 deletions
diff --git a/drivers/dsp/syslink/Kconfig b/drivers/dsp/syslink/Kconfig
index b1a79efafab..8296d7361b3 100644
--- a/drivers/dsp/syslink/Kconfig
+++ b/drivers/dsp/syslink/Kconfig
@@ -47,7 +47,7 @@ config SYSLINK_IPU_SELF_HIBERNATION
config DUCATI_WATCH_DOG
bool "Enable Ducati watch dog timer"
depends on SYSLINK_IPU_SELF_HIBERNATION
- default n
+ default y
help
Ducati cores will trigger reset if any of the two M3 cores stop
responding after 7 seconds. Requires Hibernation enabled. If
diff --git a/drivers/dsp/syslink/multicore_ipc/Kbuild b/drivers/dsp/syslink/multicore_ipc/Kbuild
index 51b22383cc7..fc5c28d0102 100644
--- a/drivers/dsp/syslink/multicore_ipc/Kbuild
+++ b/drivers/dsp/syslink/multicore_ipc/Kbuild
@@ -19,6 +19,11 @@ syslink_platform-objs = $(libservices) $(libsyslink_platform)
ccflags-y += -Wno-strict-prototypes
+#Enable ipu_pm debug traces
+ifeq ($(CONFIG_SYSLINK_IPU_PM_TRACES),y)
+CFLAGS_ipu_pm.o := -DDEBUG
+endif
+
#Machine dependent
ccflags-y += -D_TI_ -D_DB_TIOMAP -DTMS32060 \
-DTICFG_PROC_VER -DTICFG_EVM_TYPE -DCHNL_SMCLASS \