hv: pci: add hide pci devices configuration for apl-up2

Other Platforms are not added for now.

Tracked-On: #3465
Signed-off-by: Li Fei1 <fei1.li@intel.com>
This commit is contained in:
Li Fei1
2020-01-03 23:17:58 +08:00
committed by wenlingz
parent 3239cb0e1c
commit 65f3751ea3
16 changed files with 37 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
#include <board.h>
#include <msr.h>
#include <vtd.h>
#include <pci.h>
#ifndef CONFIG_ACPI_PARSE_ENABLED
#error "DMAR info is not available, please set ACPI_PARSE_ENABLED to y in Kconfig. \
@@ -35,3 +36,11 @@ struct platform_clos_info platform_clos_array[MAX_PLATFORM_CLOS_NUM] = {
};
const struct cpu_state_table board_cpu_state_tbl;
const union pci_bdf plat_hidden_pdevs[MAX_HIDDEN_PDEVS_NUM] = {
{
.bits.b = 0x0,
.bits.d = 0xd,
.bits.f = 0x0,
},
};

View File

@@ -37,4 +37,6 @@
"i915.enable_guc=0x02 " \
"cma=64M@0- "
#define MAX_HIDDEN_PDEVS_NUM 1U
#endif /* MISC_CFG_H */