platform,target: mdm9607: Add platform id for mdm9206.
Add platform id for mdm9206.
Change-Id: I270ae65c2dced122254767281d721bc7ba817217
diff --git a/include/platform.h b/include/platform.h
index e29b006..884d29e 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -89,4 +89,5 @@
bool platform_is_sdxhedgehog();
uint64_t platform_get_ddr_start();
bool platform_is_glink_enabled();
+bool platform_is_mdm9206();
#endif
diff --git a/platform/mdm9607/platform.c b/platform/mdm9607/platform.c
index 457274c..1be8698 100644
--- a/platform/mdm9607/platform.c
+++ b/platform/mdm9607/platform.c
@@ -291,3 +291,20 @@
/* Use only the mappings specified in this file. */
return 0;
}
+
+bool platform_is_mdm9206()
+{
+ uint32_t platform_id = board_platform_id();
+ bool ret;
+
+ switch(platform_id)
+ {
+ case MDM9206:
+ ret = true;
+ break;
+ default:
+ ret = false;
+ }
+
+ return ret;
+}
diff --git a/platform/msm_shared/smem.h b/platform/msm_shared/smem.h
index bad142c..472699b 100644
--- a/platform/msm_shared/smem.h
+++ b/platform/msm_shared/smem.h
@@ -462,7 +462,8 @@
SDXHEDGEHOG1 = 314,
SDXHEDGEHOG2 = 333,
MSM8909W = 300,
- APQ8009W = 301
+ APQ8009W = 301,
+ MDM9206 = 322
};
enum platform {
diff --git a/target/mdm9607/init.c b/target/mdm9607/init.c
index 4145588..919c76a 100644
--- a/target/mdm9607/init.c
+++ b/target/mdm9607/init.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015,2017, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -223,6 +223,7 @@
case MDM9607:
case MDM8207:
case MDM9207:
+ case MDM9206:
case MDM9307:
case MDM9628:
board->baseband = BASEBAND_MDM;