From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: michael.d.kinney@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Mon, 01 Jul 2019 16:00:56 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jul 2019 16:00:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,441,1557212400"; d="scan'208";a="168607009" Received: from unknown (HELO mdkinney-MOBL2.amr.corp.intel.com) ([10.241.98.74]) by orsmga006.jf.intel.com with ESMTP; 01 Jul 2019 16:00:55 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Zailiang Sun , Yi Qian , Ray Ni , Kelly Steele Subject: [edk2-platforms Patch 4/4] QuarkPkatformPkg: Update MemoryTypeInformation to reduce reboots Date: Mon, 1 Jul 2019 16:00:49 -0700 Message-Id: <20190701230049.21448-5-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20190701230049.21448-1-michael.d.kinney@intel.com> References: <20190701230049.21448-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Adjust size of bins in Memory Type Information HOB to eliminate extra reboot after first boot. Cc: Zailiang Sun Cc: Yi Qian Cc: Ray Ni Cc: Kelly Steele Signed-off-by: Michael D Kinney --- .../Platform/Pei/PlatformInit/MrcWrapper.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h b/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h index e24eb4b475..129330d954 100644 --- a/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h +++ b/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h @@ -1,7 +1,7 @@ /** @file Framework PEIM to initialize memory on an DDR2 SDRAM Memory Controller. -Copyright (c) 2013 - 2016 Intel Corporation. +Copyright (c) 2013 - 2019 Intel Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent @@ -16,12 +16,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // // Define the default memory areas required // -#define EDKII_RESERVED_SIZE_PAGES 0x20 -#define ACPI_NVS_SIZE_PAGES 0x60 -#define RUNTIME_SERVICES_DATA_SIZE_PAGES 0x20 +#define EDKII_RESERVED_SIZE_PAGES 0x40 +#define ACPI_NVS_SIZE_PAGES 0x40 +#define RUNTIME_SERVICES_DATA_SIZE_PAGES 0xC0 #define RUNTIME_SERVICES_CODE_SIZE_PAGES 0x80 #define ACPI_RECLAIM_SIZE_PAGES 0x20 -#define EDKII_DXE_MEM_SIZE_PAGES 0x20 // // Maximum number of "Socket Sets", where a "Socket Set is a set of matching -- 2.21.0.windows.1