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
This commit is contained in:
parent
133647aa86
commit
233f186e95
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue