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
This commit is contained in:
parent
6afcea8552
commit
0c88655b03
|
@ -32,7 +32,8 @@
|
||||||
|
|
||||||
static int write_pstates_for_core(u8 pstate_num, u16 *pstate_feq, u8 *pstate_vid,
|
static int write_pstates_for_core(u8 pstate_num, u16 *pstate_feq, u8 *pstate_vid,
|
||||||
u8 *pstate_fid, u32 *pstate_power, int coreID,
|
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;
|
int lenp, lenpr, i;
|
||||||
|
|
||||||
if ((onlyBSP) && (coreID != 0)) {
|
if ((onlyBSP) && (coreID != 0)) {
|
||||||
|
@ -374,7 +375,8 @@ write_pstates:
|
||||||
return len;
|
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;
|
int lens;
|
||||||
char pscope[] = "\\_PR";
|
char pscope[] = "\\_PR";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue