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

@@ -2,3 +2,4 @@
CONFIG_BOARD="nuc7i7dnb"
CONFIG_SERIAL_LEGACY=y
CONFIG_HV_RAM_START=0x60000000
CONFIG_RDT_ENABLED=n