summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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