platform/target: Define IRQ and IOMAP regs for SMD and init/uninit SMD
Define IRQ and IOMAP regs for SMD. Add target specific init/uninit for
SMD.
Change-Id: I09b5ea7923bfc5b2f2d7070f6f8b1900f6caef05
diff --git a/target/msm8994/init.c b/target/msm8994/init.c
index 7f4ad58..7ac1ddc 100644
--- a/target/msm8994/init.c
+++ b/target/msm8994/init.c
@@ -55,6 +55,7 @@
#include <boot_device.h>
#include <qmp_phy.h>
#include <qusb2_phy.h>
+#include <rpm-smd.h>
#define CE_INSTANCE 2
#define CE_EE 1
@@ -145,6 +146,8 @@
if (crypto_initialized())
crypto_eng_cleanup();
+
+ rpm_smd_uninit();
}
/* Do target specific usb initialization */
@@ -280,6 +283,8 @@
dprintf(CRITICAL, "Error reading the partition table info\n");
ASSERT(0);
}
+
+ rpm_smd_init();
}
unsigned board_machtype(void)