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:
parent
5f0aefbef5
commit
bb44d0e7e0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue