From: Marshall Buschman Date: Sat, 11 Jun 2011 02:16:41 +0000 (-0500) Subject: ASRock/E350M1: Skip memory clear for boot time reduction X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=eab1db192f9c5e2cc75f77203cc02017a6ef9168;p=coreboot.git 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 Signed-off-by: Marshall Buschman Reviewed-on: http://review.coreboot.org/20 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge --- diff --git a/src/mainboard/asrock/e350m1/BiosCallOuts.c b/src/mainboard/asrock/e350m1/BiosCallOuts.c index f4a5cb672..de5d547ec 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. */