From ef50d2940c8ddca7edaf6f8b07d89f4446dd36cc Mon Sep 17 00:00:00 2001 From: vit9696 Date: Sun, 5 Jan 2020 01:18:12 +0300 Subject: [PATCH] OcConfigurationLib: Revert ReplaceableMemory as it does not work --- Include/Library/OcConfigurationLib.h | 3 +-- Library/OcConfigurationLib/OcConfigurationLib.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Include/Library/OcConfigurationLib.h b/Include/Library/OcConfigurationLib.h index 4e90bdb1..4ea565c7 100644 --- a/Include/Library/OcConfigurationLib.h +++ b/Include/Library/OcConfigurationLib.h @@ -366,8 +366,7 @@ _(OC_STRING , Mlb , , OC_STRING_CONSTR ("OPENCORE_MLB_SN11", _, __), OC_DESTR (OC_STRING) ) \ _(UINT8 , Rom , [6] , {0} , () ) \ _(BOOLEAN , SpoofVendor , , FALSE , () ) \ - _(BOOLEAN , SupportsCsm , , FALSE , () ) \ - _(BOOLEAN , ReplaceableMemory , , FALSE , () ) + _(BOOLEAN , SupportsCsm , , FALSE , () ) OC_DECLARE (OC_PLATFORM_GENERIC_CONFIG) #define OC_PLATFORM_DATA_HUB_CONFIG_FIELDS(_, __) \ diff --git a/Library/OcConfigurationLib/OcConfigurationLib.c b/Library/OcConfigurationLib/OcConfigurationLib.c index fb260cf0..f85456d4 100644 --- a/Library/OcConfigurationLib/OcConfigurationLib.c +++ b/Library/OcConfigurationLib/OcConfigurationLib.c @@ -437,7 +437,6 @@ OC_SCHEMA mPlatformConfigurationGenericSchema[] = { OC_SCHEMA_STRING_IN ("MLB", OC_GLOBAL_CONFIG, PlatformInfo.Generic.Mlb), OC_SCHEMA_DATAF_IN ("ROM", OC_GLOBAL_CONFIG, PlatformInfo.Generic.Rom), - OC_SCHEMA_BOOLEAN_IN ("ReplaceableMemory", OC_GLOBAL_CONFIG, PlatformInfo.Generic.ReplaceableMemory), OC_SCHEMA_BOOLEAN_IN ("SpoofVendor", OC_GLOBAL_CONFIG, PlatformInfo.Generic.SpoofVendor), OC_SCHEMA_BOOLEAN_IN ("SupportsCsm", OC_GLOBAL_CONFIG, PlatformInfo.Generic.SupportsCsm), OC_SCHEMA_STRING_IN ("SystemProductName", OC_GLOBAL_CONFIG, PlatformInfo.Generic.SystemProductName),