platform: msm8974: add support for bootup timestamps
Bootup timestamps can be logged at various points and
made available to the kernel through shared memory.
Implements platform specific API to log timestamps.
Change-Id: Icff447d5914ae3ce7893e34221636b46daa6c0b5
diff --git a/platform/msm8974/include/platform/iomap.h b/platform/msm8974/include/platform/iomap.h
index 86f154d..df49060 100644
--- a/platform/msm8974/include/platform/iomap.h
+++ b/platform/msm8974/include/platform/iomap.h
@@ -39,8 +39,10 @@
#define RPM_MSG_RAM_BASE 0xFC42B000
#define SYSTEM_IMEM_BASE 0xFE800000
-#define RESTART_REASON_ADDR (RPM_MSG_RAM_BASE + 0x65C)
-#define RESTART_REASON_ADDR_V2 (SYSTEM_IMEM_BASE + 0x565C)
+#define MSM_SHARED_IMEM_BASE 0xFE850000
+
+#define RESTART_REASON_ADDR (RPM_MSG_RAM_BASE + 0x65C)
+#define RESTART_REASON_ADDR_V2 (MSM_SHARED_IMEM_BASE + 0x65C)
#define KPSS_BASE 0xF9000000