summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
authorStefan Reinauerstepan <Stefan Reinauerstepan@coresystems.de>2010-04-06 21:49:31 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-06 21:49:31 +0000
commit233f186e95cf76d3a5bb5a7224769f63c36c5931 (patch)
tree2e58b5d8948bfb6e4e7e7feb776b1b45ae6ecbd2 /src/northbridge/amd
parent133647aa8689810c3e15d31ae163e7c865aeaf92 (diff)
fam10 acpi fix
Signed-off-by: Stefan Reinauer<stepan@coresystems.de> Acked-by: Marc Jones <marcj303@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5358 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r--src/northbridge/amd/amdfam10/amdfam10_acpi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/amd/amdfam10/amdfam10_acpi.c b/src/northbridge/amd/amdfam10/amdfam10_acpi.c
index 9f6bdaf531..34d5db5511 100644
--- a/src/northbridge/amd/amdfam10/amdfam10_acpi.c
+++ b/src/northbridge/amd/amdfam10/amdfam10_acpi.c
@@ -296,10 +296,10 @@ void update_sspr(void *sspr, u32 nodeid, u32 cpuindex)
for(i=0;i<sysconf.p_state_num;i++) {
struct p_state_t *p_state = &sysconf.p_state[nodeid * 5 + i];
- intx_to_stream(COREFREQ + i*offset, 2, p_state->corefreq);
- intx_to_stream(POWER + i*offset, 3, p_state->power);
- intx_to_stream(TRANSITION_LAT + i*offset, 2, p_state->transition_lat);
- intx_to_stream(BUSMASTER_LAT + i*offset, 2, p_state->busmaster_lat);
+ intx_to_stream(p_state->corefreq, 2, COREFREQ + i*offset);
+ intx_to_stream(p_state->power, 3, POWER + i*offset);
+ intx_to_stream(p_state->transition_lat, 2, TRANSITION_LAT + i*offset);
+ intx_to_stream(p_state->busmaster_lat, 2, BUSMASTER_LAT + i*offset);
*((u8 *)(CONTROL + i*offset)) =(u8) p_state->control;
*((u8 *)(STATUS + i*offset)) =(u8) p_state->status;
}