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 Reinauer<[email protected]> 
Acked-by: Marc Jones <[email protected]>

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;
        }

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to