]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library
authorBin Meng <bmeng.cn@gmail.com>
Thu, 19 Jul 2018 04:42:15 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 20 Jul 2018 01:33:22 +0000 (09:33 +0800)
commita0609a8d19d4a9a86572fffb7cb8a3661fffbcf7
tree3f587887376b079435794f85c80d2ba984224100
parentb37b7b2063e02718970ca1882a4522ccbe1106e9
x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library

acpi_find_fadt(), acpi_find_wakeup_vector() and enter_acpi_mode()
are something unrelated to ACPI tables generation. Move these to
a separate library.

This also fixes several style issues reported by checkpatch in the
original codes.

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/include/asm/acpi.h [new file with mode: 0644]
arch/x86/include/asm/acpi_table.h
arch/x86/lib/Makefile
arch/x86/lib/acpi.c [new file with mode: 0644]
arch/x86/lib/acpi_s3.c
arch/x86/lib/acpi_table.c