power: Add apq8084 specific changes
Added compilation flag for power-8084.c in makefile and detection of apq8084 soc id in power.c. Change-Id: I00e8e18f6de4ee7b38269e4bf565954db46148c5
This commit is contained in:
parent
4ab9ceeece
commit
14f858aa20
|
@ -23,6 +23,10 @@ ifeq ($(call is-board-platform-in-list, msm8610), true)
|
|||
LOCAL_SRC_FILES += power-8610.c
|
||||
endif
|
||||
|
||||
ifeq ($(call is-board-platform-in-list, apq8084), true)
|
||||
LOCAL_SRC_FILES += power-8084.c
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_USES_INTERACTION_BOOST),true)
|
||||
LOCAL_CFLAGS += -DINTERACTION_BOOST
|
||||
endif
|
||||
|
|
|
@ -74,7 +74,7 @@ static void power_init(struct power_module *module)
|
|||
ALOGW("Unable to read soc_id");
|
||||
} else {
|
||||
int soc_id = atoi(buf);
|
||||
if (soc_id == 194 || (soc_id >= 208 && soc_id <= 218)) {
|
||||
if (soc_id == 194 || (soc_id >= 208 && soc_id <= 218) || soc_id == 178) {
|
||||
display_boost = 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue