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

@@ -519,7 +519,7 @@ union dmar_ir_entry {
extern struct dmar_info *get_dmar_info(void);
#ifdef CONFIG_DMAR_PARSE_ENABLED
#ifdef CONFIG_ACPI_PARSE_ENABLED
int32_t parse_dmar_table(struct dmar_info *plat_dmar_info);
#endif