platform/target: msm8909: Define IRQ and IOMAP regs for SMD and init/uninit SMD
Define IRQ and IOMAP regs for SMD.Also, add target specific functions for SMD which
intializes the SMD interface, using which RPM is notified.
Change-Id: Ia1cdb69beee6908eb76641cf60d04bc7d0c641fb
diff --git a/platform/msm8909/include/platform/iomap.h b/platform/msm8909/include/platform/iomap.h
index 4f59eff..e7b0d89 100644
--- a/platform/msm8909/include/platform/iomap.h
+++ b/platform/msm8909/include/platform/iomap.h
@@ -52,6 +52,7 @@
#define MSM_GIC_CPU_BASE (APPS_SS_BASE + 0x2000)
#define APPS_APCS_QTMR_AC_BASE (APPS_SS_BASE + 0x00020000)
#define APPS_APCS_F0_QTMR_V1_BASE (APPS_SS_BASE + 0x00021000)
+#define APCS_ALIAS0_IPC_INTERRUPT (APPS_SS_BASE + 0x00011008)
#define QTMR_BASE APPS_APCS_F0_QTMR_V1_BASE
#define PERIPH_SS_BASE 0x07800000
diff --git a/platform/msm8909/include/platform/irqs.h b/platform/msm8909/include/platform/irqs.h
index 1875b8a..3ef97b1 100644
--- a/platform/msm8909/include/platform/irqs.h
+++ b/platform/msm8909/include/platform/irqs.h
@@ -50,6 +50,8 @@
#define SDCC1_PWRCTL_IRQ (GIC_SPI_START + 138)
#define SDCC2_PWRCTL_IRQ (GIC_SPI_START + 221)
+#define SMD_IRQ (GIC_SPI_START + 168)
+
/* Retrofit universal macro names */
#define INT_USB_HS USB1_HS_IRQ