summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Buschman <mbuschman@lucidmachines.com>2011-06-10 21:16:41 -0500
committerPeter Stuge <peter@stuge.se>2011-06-12 19:27:34 +0200
commiteab1db192f9c5e2cc75f77203cc02017a6ef9168 (patch)
treef34634d2ef44ae7a60c2a7c63efd71d2ac9aa53c /src
parent0f9cd435145f1d34a6ebe67ad547c79bc4246f3d (diff)
downloadcoreboot-eab1db192f9c5e2cc75f77203cc02017a6ef9168.tar.xz
ASRock/E350M1: Skip memory clear for boot time reduction
Applying Scott's patches to e350m1, svn r6600: Memory clear is not required for non-ECC boards. Change-Id: Ia1a7c926611de72351434cbdc1795ed10bc56ed1 Signed-off-by: Scott Duplichan <scott@notabs.org> Signed-off-by: Marshall Buschman <mbuschman@lucidmachines.com> Reviewed-on: http://review.coreboot.org/20 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/asrock/e350m1/BiosCallOuts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/asrock/e350m1/BiosCallOuts.c b/src/mainboard/asrock/e350m1/BiosCallOuts.c
index f4a5cb672a..de5d547ec2 100644
--- a/src/mainboard/asrock/e350m1/BiosCallOuts.c
+++ b/src/mainboard/asrock/e350m1/BiosCallOuts.c
@@ -512,6 +512,8 @@ AGESA_STATUS BiosHookBeforeDramInit (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
Data8 &= ~(UINT8)BIT6;
Write64Mem8(GpioMmioAddr+SB_GPIO_REG179, Data8);
}
+ // disable memory clear for boot time reduction
+ MemData->ParameterListPtr->EnableMemClr = FALSE;
return Status;
}
/* Call the host environment interface to provide a user hook opportunity. */