[edk2-devel] [edk2-platforms Patch 4/4] QuarkPkatformPkg: Update MemoryTypeInformation to reduce reboots

Michael D Kinney michael.d.kinney at intel.com
Mon Jul 1 23:00:49 UTC 2019


Adjust size of bins in Memory Type Information HOB to eliminate
extra reboot after first boot.

Cc: Zailiang Sun <zailiang.sun at intel.com>
Cc: Yi Qian <yi.qian at intel.com>
Cc: Ray Ni <ray.ni at intel.com>
Cc: Kelly Steele <kelly.steele at intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney at intel.com>
---
 .../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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#43135): https://edk2.groups.io/g/devel/message/43135
Mute This Topic: https://groups.io/mt/32280703/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list