HV: enable Kconfig of ACPI_PARSE_ENABLED

Previously we use Kconfig of DMAR_PARSE_ENABLED to choose pre-defined DMAR info
or parse it at runtime, at the same time we use MACRO of CONFIG_CONSTANT_ACPI
to decide whether parse PM related ACPI info at runtime. This looks redundant
so use a unified ACPI_PARSE_ENABLED Kconfig to replace them.

Tracked-On: #3107

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Victor Sun
2019-05-13 10:20:21 +08:00
committed by ACRN System Integration
parent 86fe2e033c
commit 8afbdb7505
12 changed files with 12 additions and 21 deletions

View File

@@ -158,10 +158,10 @@ endif
# ACPI parsing component
# This part should be isolated from FuSa Cert
ifeq ($(CONFIG_DMAR_PARSE_ENABLED),y)
ifeq ($(CONFIG_ACPI_PARSE_ENABLED),y)
C_SRCS += acpi_parser/dmar_parse.c
endif
C_SRCS += acpi_parser/acpi_ext.c
endif
C_SRCS += boot/acpi_base.c
C_SRCS += boot/dmar_info.c