soc: qcom: Add support for memory dump v2 driver

This is snapshot of the memory dump v2 driver as of msm-4.4
commit 'fb5706b7462b0b855d10da12ed88ebf10a2e8643'. This enables
memory dump feature. It allows various client subsystems to
register respective dump regions. This is needed to collect
system information in case of crash.

CRs-Fixed: 1053067
Change-Id: I610bc71ab3b266ccb582fa61a3bc8286c2f06726
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 81f5702..efbc5d2 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -116,3 +116,11 @@
 	  watchdog times out. It allows for detection of cpu hangs and
 	  deadlocks. It does not run during the bootup process, so it will
 	  not catch any early lockups.
+
+config QCOM_MEMORY_DUMP_V2
+	bool "QCOM Memory Dump V2 Support"
+	help
+	  This enables memory dump feature. It allows various client
+	  subsystems to register respective dump regions. At the time
+	  of deadlocks or cpu hangs these dump regions are captured to
+	  give a snapshot of the system at the time of the crash.