mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
powerpc/powernv: remove FW_FEATURE_OPALv3 and just use FW_FEATURE_OPAL
Long ago, only in the lab, there was OPALv1 and OPALv2. Now there is just OPALv3, with nobody ever expecting anything on pre-OPALv3 to be cared about or supported by mainline kernels. So, let's remove FW_FEATURE_OPALv3 and instead use FW_FEATURE_OPAL exclusively. Signed-off-by: Stewart Smith <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
This commit is contained in:
parent
7261aafc09
commit
e4d54f71d2
10 changed files with 54 additions and 70 deletions
|
|
@ -264,7 +264,7 @@ static int powernv_idle_probe(void)
|
|||
if (cpuidle_disable != IDLE_NO_OVERRIDE)
|
||||
return -ENODEV;
|
||||
|
||||
if (firmware_has_feature(FW_FEATURE_OPALv3)) {
|
||||
if (firmware_has_feature(FW_FEATURE_OPAL)) {
|
||||
cpuidle_state_table = powernv_states;
|
||||
/* Device tree can indicate more idle states */
|
||||
max_idle_state = powernv_add_idle_states();
|
||||
|
|
|
|||
Loading…
Reference in a new issue