Patchwork New patch to review: 2a221db Skip memory clear for boot time reduction

Date 2011-06-11 02:36:03
Message ID <>
Download mbox | patch
Permalink /patch/3106/
State New, archived
Headers show

Comments - 2011-06-11 02:36:03
Marshall Buschman ( just uploaded a new patch set to gerrit, which you can find at



commit 2a221db6ad48055f5d3eed0c86b78d2780c6fafc
Author: Marshall Buschman <>
Date:   Fri Jun 10 21:16:41 2011 -0500

    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 <>

diff --git a/src/mainboard/asrock/e350m1/BiosCallOuts.c b/src/mainboard/asrock/e350m1/BiosCallOuts.c
index f4a5cb6..de5d547e 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. */