]> git.baikalelectronics.ru Git - uboot.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)
commite54c53fbefb5dd0344ed543d9601640371b41fcc
tree3f587887376b079435794f85c80d2ba984224100
parentd0195e716dd83791f63fbe8e6c7a8725fcd8a4d7
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