msm: charger: Signal power on battery charging only for wall charger

Early bootloaders indicate if power on reason is normal boot,
due to USB charger or a wall charger.  Indicate kernel to go to
charging mode only if wall charger is connected.

OEMs who want to set policy to go to power on charging in case of
usb and wall charger should update the condition check accordingly.

Change-Id: I3a44790fb1f664ab84c4720a6f463e0e1405d6ca
diff --git a/platform/msm_shared/smem.h b/platform/msm_shared/smem.h
index a6e729c..9bbed30 100644
--- a/platform/msm_shared/smem.h
+++ b/platform/msm_shared/smem.h
@@ -318,9 +318,9 @@
 } __attribute__ ((__packed__));
 
 /* Power on reason/status info */
-#define PWR_ON_EVENT_USB_CHG 0x20
 #define PWR_ON_EVENT_RTC_ALARM 0x2
-
+#define PWR_ON_EVENT_USB_CHG   0x20
+#define PWR_ON_EVENT_WALL_CHG  0x40
 
 unsigned smem_read_alloc_entry_offset(smem_mem_type_t type, void *buf, int len, int offset);
 int smem_ram_ptable_init(struct smem_ram_ptable *smem_ram_ptable);