058fb9f5ff
MCFG tables are used on multiple arches. Move to common ACPI lib. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Moritz Fischer <moritzf@google.com> Reviewed-by: Simon Glass <sjg@chromium.org> Use sizeof(*mcfg) instead of sizeof(*header) Signed-off-by: Simon Glass <sjg@chromium.org>
24 lines
487 B
Makefile
24 lines
487 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_$(SPL_)ACPIGEN) += acpigen.o
|
|
obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_device.o
|
|
obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_dp.o
|
|
obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_table.o
|
|
obj-y += acpi_writer.o
|
|
|
|
# With QEMU the ACPI tables come from there, not from U-Boot
|
|
ifndef CONFIG_QEMU
|
|
obj-y += base.o
|
|
obj-y += csrt.o
|
|
obj-y += mcfg.o
|
|
|
|
# Sandbox does not build a .asl file
|
|
ifndef CONFIG_SANDBOX
|
|
obj-y += dsdt.o
|
|
endif
|
|
|
|
obj-y += facs.o
|
|
obj-y += ssdt.o
|
|
endif
|