fix acpi dsdt copy on roda rk886ex

thanks to Myles Watson for spotting this...!

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5283 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2010-03-24 20:59:43 +00:00 committed by Stefan Reinauer
parent 5f0aefbef5
commit bb44d0e7e0
1 changed files with 1 additions and 1 deletions

View File

@ -274,8 +274,8 @@ unsigned long write_acpi_tables(unsigned long start)
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