summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-24 20:59:43 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-24 20:59:43 +0000
commitbb44d0e7e003f7e9a43f55a6f357297092bc3471 (patch)
tree7a2fb8dd408ef16f55b682a40d7ee3ff829041c5 /src/mainboard
parent5f0aefbef54473c20a04ffe04779d13ef100ef73 (diff)
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
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/roda/rk886ex/acpi_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/roda/rk886ex/acpi_tables.c b/src/mainboard/roda/rk886ex/acpi_tables.c
index be5adf226a..88c6c8e8a7 100644
--- a/src/mainboard/roda/rk886ex/acpi_tables.c
+++ b/src/mainboard/roda/rk886ex/acpi_tables.c
@@ -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