summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-07-18 18:00:37 +0000
committerStefan Reinauer <stepan@openbios.org>2009-07-18 18:00:37 +0000
commit0c88655b0321da7a4ac5b1337605aaa3d7366a1e (patch)
treedc131c4ebf52fc4d362e7edb0ea37b16cda7f9e4 /src/cpu
parent6afcea8552aecf8831b6890ad8b5e3761c10c778 (diff)
coding style fixes for powernow (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4440 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/amd/model_fxx/powernow_acpi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cpu/amd/model_fxx/powernow_acpi.c b/src/cpu/amd/model_fxx/powernow_acpi.c
index b68382761f..9710f8be99 100644
--- a/src/cpu/amd/model_fxx/powernow_acpi.c
+++ b/src/cpu/amd/model_fxx/powernow_acpi.c
@@ -32,7 +32,8 @@
static int write_pstates_for_core(u8 pstate_num, u16 *pstate_feq, u8 *pstate_vid,
u8 *pstate_fid, u32 *pstate_power, int coreID,
- u32 pcontrol_blk, u8 plen, u8 onlyBSP) {
+ u32 pcontrol_blk, u8 plen, u8 onlyBSP)
+{
int lenp, lenpr, i;
if ((onlyBSP) && (coreID != 0)) {
@@ -374,7 +375,8 @@ write_pstates:
return len;
}
-int amd_model_fxx_generate_powernow(u32 pcontrol_blk, u8 plen, u8 onlyBSP) {
+int amd_model_fxx_generate_powernow(u32 pcontrol_blk, u8 plen, u8 onlyBSP)
+{
int lens;
char pscope[] = "\\_PR";