platform: msm_shared: Implement watch dog driver in LK.
Enable wdog at the end of LK to catch early kernel crashes
Change-Id: Ica4077a2cec28f6ee83f7fcdbe04001681b635d9
diff --git a/platform/msm_shared/rules.mk b/platform/msm_shared/rules.mk
index dd024f8..d19df24 100644
--- a/platform/msm_shared/rules.mk
+++ b/platform/msm_shared/rules.mk
@@ -18,6 +18,11 @@
$(LOCAL_DIR)/qgic_common.o \
$(LOCAL_DIR)/crc32.o
+ifeq ($(ENABLE_WDOG_SUPPORT),1)
+OBJS += \
+ $(LOCAL_DIR)/wdog.o
+endif
+
ifeq ($(ENABLE_QGIC3), 1)
OBJS += $(LOCAL_DIR)/qgic_v3.o
endif