summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpu/amd/model_fxx/powernow_acpi.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/cpu/amd/model_fxx/powernow_acpi.c b/src/cpu/amd/model_fxx/powernow_acpi.c
index f2aa59639a..ac505ee263 100644
--- a/src/cpu/amd/model_fxx/powernow_acpi.c
+++ b/src/cpu/amd/model_fxx/powernow_acpi.c
@@ -194,11 +194,6 @@ static void pstates_algorithm(u32 pcontrol_blk, u8 plen, u8 onlyBSP)
else
PstateStep_coef = 2;
- if (IntPstateSup == 0) {
- printk(BIOS_INFO, "No intermediate P-states are supported\n");
- goto write_pstates;
- }
-
/* Get the multiplier of the fid frequency */
/*
* Fid multiplier is always 100 revF and revG.
@@ -233,6 +228,11 @@ static void pstates_algorithm(u32 pcontrol_blk, u8 plen, u8 onlyBSP)
Pstate_num++;
}
+ if (IntPstateSup == 0) {
+ printk(BIOS_SPEW, "No intermediate P-states are supported\n");
+ goto nointpstatesup;
+ }
+
Cur_feq = Max_feq;
Cur_fid = Max_fid;
/* Construct P1 state */
@@ -313,6 +313,7 @@ static void pstates_algorithm(u32 pcontrol_blk, u8 plen, u8 onlyBSP)
Pstate_num++;
}
+nointpstatesup:
/* Construct P[Min] State */
if (Max_fid == 0x2A && Max_vid != 0x0) {
Pstate_fid[Pstate_num] = 0x2;