summaryrefslogtreecommitdiffstats
path: root/QuarkPlatformPkg
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2016-01-07 22:31:13 +0000
committermdkinney <mdkinney@Edk2>2016-01-07 22:31:13 +0000
commit8b43c84e2d971ddcb64f885efc13ffdd12f2f0f7 (patch)
treeceff294736ee8d6b191a17fc46e70d3610bc0ac3 /QuarkPlatformPkg
parent655dabe33811883add56c169e4f29749c22ec51c (diff)
downloadedk2-8b43c84e2d971ddcb64f885efc13ffdd12f2f0f7.tar.gz
edk2-8b43c84e2d971ddcb64f885efc13ffdd12f2f0f7.tar.bz2
edk2-8b43c84e2d971ddcb64f885efc13ffdd12f2f0f7.zip
QuarkPlatformPkg/PlatformInit: Adjust memory bin size to avoid reboot
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
Diffstat (limited to 'QuarkPlatformPkg')
-rw-r--r--QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h b/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h
index e0f06a3b0e..d2bcf5728e 100644
--- a/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h
+++ b/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 Intel Corporation.
+Copyright (c) 2013 - 2016 Intel Corporation.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -22,11 +22,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// Define the default memory areas required
//
-#define EDKII_RESERVED_SIZE_PAGES 0x40
-#define ACPI_NVS_SIZE_PAGES 0x40
+#define EDKII_RESERVED_SIZE_PAGES 0x20
+#define ACPI_NVS_SIZE_PAGES 0x60
#define RUNTIME_SERVICES_DATA_SIZE_PAGES 0x20
-#define RUNTIME_SERVICES_CODE_SIZE_PAGES 0x60
-#define ACPI_RECLAIM_SIZE_PAGES 0x10
+#define RUNTIME_SERVICES_CODE_SIZE_PAGES 0x80
+#define ACPI_RECLAIM_SIZE_PAGES 0x20
#define EDKII_DXE_MEM_SIZE_PAGES 0x20
#define AP_STARTUP_VECTOR 0x00097000