ASRock/E350M1: Skip memory clear for boot time reduction
authorMarshall Buschman <mbuschman@lucidmachines.com>
Sat, 11 Jun 2011 02:16:41 +0000 (21:16 -0500)
committerPeter Stuge <peter@stuge.se>
Sun, 12 Jun 2011 17:27:34 +0000 (19:27 +0200)
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>
src/mainboard/asrock/e350m1/BiosCallOuts.c

index f4a5cb672a2d59eba9f5bc69b712b4c9c95efd48..de5d547ec20ed8a6cf7b880c083af158980cfe0c 100644 (file)
@@ -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. */