Author: stepan Date: Tue Apr 6 21:49:31 2010 New Revision: 5358 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5358
Log: fam10 acpi fix
Signed-off-by: Stefan Reinauerstepan@coresystems.de Acked-by: Marc Jones marcj303@gmail.com
Modified: trunk/src/northbridge/amd/amdfam10/amdfam10_acpi.c
Modified: trunk/src/northbridge/amd/amdfam10/amdfam10_acpi.c ============================================================================== --- trunk/src/northbridge/amd/amdfam10/amdfam10_acpi.c Mon Apr 5 19:47:34 2010 (r5357) +++ trunk/src/northbridge/amd/amdfam10/amdfam10_acpi.c Tue Apr 6 21:49:31 2010 (r5358) @@ -296,10 +296,10 @@
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; }