platform: msm_shared: Move macro to the right header file
Move macro from mmc header to partition parser header, as the
macro is intended for partition parser function.
Change-Id: Ifb4b20bc28f08cf6d0cc68442171011a08a58e54
diff --git a/platform/msm_shared/include/partition_parser.h b/platform/msm_shared/include/partition_parser.h
index 13a123d..86e2cf5 100644
--- a/platform/msm_shared/include/partition_parser.h
+++ b/platform/msm_shared/include/partition_parser.h
@@ -112,6 +112,11 @@
#define MBR_PROTECTED_TYPE 0xEE
#define MBR_SSD_TYPE 0x5D
+#define GET_LWORD_FROM_BYTE(x) ((unsigned)*(x) | \
+ ((unsigned)*(x+1) << 8) | \
+ ((unsigned)*(x+2) << 16) | \
+ ((unsigned)*(x+3) << 24))
+
#define GET_LLWORD_FROM_BYTE(x) ((unsigned long long)*(x) | \
((unsigned long long)*(x+1) << 8) | \
((unsigned long long)*(x+2) << 16) | \