]> git.dujemihanovic.xyz Git - u-boot.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)
commit474a62bc74fe923cd6f43e13ca82b1ce2f40e76f
tree1dfaa8a9b44152b328ff87aa2637a3ce1c90a8e7
parenta0609a8d19d4a9a86572fffb7cb8a3661fffbcf7
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