summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/Makefile
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-07-18 21:42:15 -0700
committerBin Meng <bmeng.cn@gmail.com>2018-07-20 09:33:22 +0800
commita0609a8d19d4a9a86572fffb7cb8a3661fffbcf7 (patch)
tree3f587887376b079435794f85c80d2ba984224100 /arch/x86/lib/Makefile
parentb37b7b2063e02718970ca1882a4522ccbe1106e9 (diff)
downloadu-boot-a0609a8d19d4a9a86572fffb7cb8a3661fffbcf7.tar.gz
u-boot-a0609a8d19d4a9a86572fffb7cb8a3661fffbcf7.tar.xz
u-boot-a0609a8d19d4a9a86572fffb7cb8a3661fffbcf7.zip
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>
Diffstat (limited to 'arch/x86/lib/Makefile')
-rw-r--r--arch/x86/lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile
index ba07ac728f..1e8efcc44f 100644
--- a/arch/x86/lib/Makefile
+++ b/arch/x86/lib/Makefile
@@ -33,6 +33,7 @@ obj-$(CONFIG_INTEL_MID) += scu.o
obj-y += sections.o
obj-y += sfi.o
obj-y += string.o
+obj-y += acpi.o
obj-$(CONFIG_HAVE_ACPI_RESUME) += acpi_s3.o
ifndef CONFIG_QEMU
obj-$(CONFIG_GENERATE_ACPI_TABLE) += acpi_table.o