Author: stepan
Date: Wed Mar 24 21:59:43 2010
New Revision: 5283
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5283

Log:
fix acpi dsdt copy on roda rk886ex

thanks to Myles Watson for spotting this...!

Signed-off-by: Stefan Reinauer <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>

Modified:
   trunk/src/mainboard/roda/rk886ex/acpi_tables.c

Modified: trunk/src/mainboard/roda/rk886ex/acpi_tables.c
==============================================================================
--- trunk/src/mainboard/roda/rk886ex/acpi_tables.c      Wed Mar 24 17:45:46 
2010        (r5282)
+++ trunk/src/mainboard/roda/rk886ex/acpi_tables.c      Wed Mar 24 21:59:43 
2010        (r5283)
@@ -274,8 +274,8 @@
        acpi_create_facs(facs);
 
        int len = ((acpi_header_t *)amlcodeptr)->length;
-       current += len;
        dsdt = (acpi_header_t *) current;
+       current += len;
        memcpy((void *) dsdt, amlcodeptr, len);
 
        /* Fix up global NVS region for SMI handler. The GNVS region lives 

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

Reply via email to