HV: Remove RDT code if CONFIG_RDT_ENABLED flag

is not set

This patch does the following,
1. Removes RDT code if CONFIG_RDT_ENABLED flag is
not set.
2. Set the CONFIG_RDT_ENABLED flag only on platforms
that support RDT so that build scripts will automatically
reflect the config.

Tracked-On: #3715
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Vijay Dhanraj
2020-02-19 23:28:34 -08:00
committed by wenlingz
parent d0665fe220
commit eaad91fd71
17 changed files with 46 additions and 0 deletions

View File

@@ -3,3 +3,4 @@ CONFIG_BOARD="apl-up2"
CONFIG_SERIAL_PCI=y
CONFIG_SERIAL_PCI_BDF="0:18.0"
CONFIG_HV_RAM_START=0x5e000000
CONFIG_RDT_ENABLED=n