]> git.proxmox.com Git - mirror_edk2.git/commitdiff
QuarkPlatformPkg/PlatformInit: Adjust memory bin size to avoid reboot
authorMichael Kinney <michael.d.kinney@intel.com>
Thu, 7 Jan 2016 22:31:13 +0000 (22:31 +0000)
committermdkinney <mdkinney@Edk2>
Thu, 7 Jan 2016 22:31:13 +0000 (22:31 +0000)
Update memory bin sizes in Memory Type Information on first boot after
FLASH update to avoid reboot when memory bins are too small when all
features are enabled.

Cc: Kelly Steele <kelly.steele@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Kelly Steele <kelly.steele@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19618 6f19259b-4bc3-4df7-8a09-765794883524

QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h

index e0f06a3b0eaea62bfa22700f06d3bd0ebff16132..d2bcf5728e89c19b51efce787f1eed5dcdf6215d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 Framework PEIM to initialize memory on an DDR2 SDRAM Memory Controller.\r
 \r
-Copyright (c) 2013 Intel Corporation.\r
+Copyright (c) 2013 - 2016 Intel Corporation.\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
@@ -22,11 +22,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // Define the default memory areas required\r
 //\r
-#define EDKII_RESERVED_SIZE_PAGES         0x40\r
-#define ACPI_NVS_SIZE_PAGES               0x40\r
+#define EDKII_RESERVED_SIZE_PAGES         0x20\r
+#define ACPI_NVS_SIZE_PAGES               0x60\r
 #define RUNTIME_SERVICES_DATA_SIZE_PAGES  0x20\r
-#define RUNTIME_SERVICES_CODE_SIZE_PAGES  0x60\r
-#define ACPI_RECLAIM_SIZE_PAGES           0x10\r
+#define RUNTIME_SERVICES_CODE_SIZE_PAGES  0x80\r
+#define ACPI_RECLAIM_SIZE_PAGES           0x20\r
 #define EDKII_DXE_MEM_SIZE_PAGES          0x20\r
 \r
 #define AP_STARTUP_VECTOR                 0x00097000\r