diff options
| author | Alberto97 <albertop2197@gmail.com> | 2018-06-30 22:51:49 +0200 |
|---|---|---|
| committer | althafvly <althafvly@gmail.com> | 2020-06-06 13:29:03 +0530 |
| commit | c621fb34b8f5e173d6f4f843c87e08ebc9aaeffb (patch) | |
| tree | 107d274c12fffcf91c7abf011907541cca6b231e | |
| parent | 431139293caee5a4ce6f5570f92ff98793494277 (diff) | |
osprey: Remove power HAL related header
New HAL doesn't need it
Change-Id: I42d74037713b8b27552b7af761680dbd5f93782f
| -rw-r--r-- | BoardConfig.mk | 3 | ||||
| -rw-r--r-- | power/power_device.h | 84 |
2 files changed, 0 insertions, 87 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 0b7e4c6..4dce5e4 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -38,9 +38,6 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2432696320 # 2375680 * 1024 mmcblk0p41 BOARD_PERSISTIMAGE_PARTITION_SIZE := 8388608 # 8192 * 1024 mmcblk0p29 BOARD_USERDATAIMAGE_PARTITION_SIZE := 4865261568 # 4751232 * 1024 mmcblk0p42 -# Power -TARGET_POWERHAL_HEADER_PATH := $(DEVICE_PATH)/power - # Properties TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop diff --git a/power/power_device.h b/power/power_device.h deleted file mode 100644 index 4c67768..0000000 --- a/power/power_device.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (C) 2016 The CyanogenMod Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -static power_profile profiles[PROFILE_MAX] = { - [PROFILE_POWER_SAVE] = { - .boost = 0, - .boostpulse_duration = 0, - .go_hispeed_load = 90, - .go_hispeed_load_off = 90, - .hispeed_freq = 800000, - .hispeed_freq_off = 800000, - .min_sample_time = 60000, - .timer_rate = 20000, - .above_hispeed_delay = 20000, - .target_loads = 90, - .target_loads_off = 90, - .scaling_max_freq = 998400, - .scaling_min_freq = 400000, - .scaling_min_freq_off = 200000, - }, - [PROFILE_BALANCED] = { - .boost = 0, - .boostpulse_duration = 60000, - .go_hispeed_load = 80, - .go_hispeed_load_off = 90, - .hispeed_freq = 998400, - .hispeed_freq_off = 800000, - .min_sample_time = 60000, - .timer_rate = 20000, - .above_hispeed_delay = 20000, - .target_loads = 80, - .target_loads_off = 90, - .scaling_max_freq = 1363200, - .scaling_min_freq = 800000, - .scaling_min_freq_off = 200000, - }, - [PROFILE_HIGH_PERFORMANCE] = { - .boost = 1, - /* The CPU is already boosted, set duration to zero - * to avoid unneccessary writes to boostpulse */ - .boostpulse_duration = 0, - .go_hispeed_load = 60, - .go_hispeed_load_off = 70, - .hispeed_freq = 998400, - .hispeed_freq_off = 998400, - .min_sample_time = 60000, - .timer_rate = 20000, - .above_hispeed_delay = 20000, - .target_loads = 60, - .target_loads_off = 70, - .scaling_max_freq = 1363200, - .scaling_min_freq = 800000, - .scaling_min_freq_off = 200000, - }, - [PROFILE_BIAS_POWER_SAVE] = { - .boost = 0, - .boostpulse_duration = 40000, - .go_hispeed_load = 90, - .go_hispeed_load_off = 90, - .hispeed_freq = 800000, - .hispeed_freq_off = 800000, - .min_sample_time = 60000, - .timer_rate = 20000, - .above_hispeed_delay = 20000, - .target_loads = 90, - .target_loads_off = 90, - .scaling_max_freq = 1363200, - .scaling_min_freq = 400000, - .scaling_min_freq_off = 200000, - }, -}; |
