platform: msm_shared: Add changes as per AVB2.0 specs

As per the requirement of AVB2.0 current call flow aboot_init
is updated to make sure that device is booting with AVB2.0
enable.Fix kernel cmdline for recovery and add checks to verify
the boot image.

Change-Id: Icfb250eac71edf07ea6f6123ddd15c6aaaa1629f
diff --git a/include/err.h b/include/err.h
index 265c19c..b4e9c5a 100644
--- a/include/err.h
+++ b/include/err.h
@@ -51,5 +51,11 @@
 #define ERR_RECURSE_TOO_DEEP -23
 #define ERR_NOT_SUPPORTED -24
 #define ERR_TOO_BIG -25
+#define EIO 5      /* I/O error */
+#define ENOMEM 12  /* Out of memory */
+#define EACCES 13  /* Permission denied */
+#define ENODEV 19  /* No such device */
+#define EINVAL 22  /* Invalid argument */
+
 
 #endif