target: msm8952: rename hardware subtypes to sap
rename hw subtypes to sap.
Change-Id: I598d3b23eabcb0c87eee8bd4d952f5e0ee343a81
diff --git a/target/msm8952/target_display.c b/target/msm8952/target_display.c
index ee001bc..15326bf 100644
--- a/target/msm8952/target_display.c
+++ b/target/msm8952/target_display.c
@@ -582,8 +582,8 @@
uint32_t platform_subtype = board_hardware_subtype();
/* default to hdmi for apq iot */
- if ((HW_PLATFORM_SUBTYPE_SNAP == platform_subtype) ||
- (HW_PLATFORM_SUBTYPE_SNAP_NOPMI == platform_subtype)) {
+ if ((HW_PLATFORM_SUBTYPE_SAP == platform_subtype) ||
+ (HW_PLATFORM_SUBTYPE_SAP_NOPMI == platform_subtype)) {
if (!strcmp(oem.panel, "")) {
if (buf_size < (prefix_string_len +
strlen(HDMI_ADV_PANEL_STRING))) {
@@ -646,8 +646,8 @@
return;
}
- if ((HW_PLATFORM_SUBTYPE_SNAP == platform_subtype) ||
- (HW_PLATFORM_SUBTYPE_SNAP_NOPMI == platform_subtype)) {
+ if ((HW_PLATFORM_SUBTYPE_SAP == platform_subtype) ||
+ (HW_PLATFORM_SUBTYPE_SAP_NOPMI == platform_subtype)) {
dprintf(INFO, "%s: Platform subtype %d\n",
__func__, platform_subtype);
return;