build: Remove "fwdebug" and "common" feature flags

This simplifes the buld and checks with very little overhead and the
fwdebug device is I/O port device on 0x402 that can be used by edk2 as a
very simple character device.

See: #4679

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2022-09-26 17:02:18 +01:00
committed by Bo Chen
parent 36e26f004c
commit b2d1dd65f3
7 changed files with 18 additions and 25 deletions

View File

@@ -1560,9 +1560,7 @@ impl DeviceManager {
.io_bus
.insert(cmos, 0x70, 0x2)
.map_err(DeviceManagerError::BusError)?;
}
#[cfg(feature = "fwdebug")]
{
let fwdebug = Arc::new(Mutex::new(devices::legacy::FwDebugDevice::new()));
self.bus_devices