]> git.baikalelectronics.ru Git - uboot.git/commit
x86: acpi: Don't touch ACPI hardware in write_acpi_tables()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 19 Jul 2018 04:42:16 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 20 Jul 2018 01:33:22 +0000 (09:33 +0800)
commit1a534d86e86773464e1ab9be507bd17b135f1b01
tree1dfaa8a9b44152b328ff87aa2637a3ce1c90a8e7
parente54c53fbefb5dd0344ed543d9601640371b41fcc
x86: acpi: Don't touch ACPI hardware in write_acpi_tables()

write_acpi_tables() currently touches ACPI hardware to switch to
ACPI mode at the end. Move such operation out of this function,
so that it only does what the function name tells us.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
arch/x86/cpu/cpu.c
arch/x86/lib/acpi_table.c