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>
This commit is contained in:
Marshall Buschman 2011-06-10 21:16:41 -05:00 committed by Peter Stuge
parent 0f9cd43514
commit eab1db192f
1 changed files with 2 additions and 0 deletions

View File

@ -512,6 +512,8 @@ AGESA_STATUS BiosHookBeforeDramInit (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
Data8 &= ~(UINT8)BIT6; Data8 &= ~(UINT8)BIT6;
Write64Mem8(GpioMmioAddr+SB_GPIO_REG179, Data8); Write64Mem8(GpioMmioAddr+SB_GPIO_REG179, Data8);
} }
// disable memory clear for boot time reduction
MemData->ParameterListPtr->EnableMemClr = FALSE;
return Status; return Status;
} }
/* Call the host environment interface to provide a user hook opportunity. */ /* Call the host environment interface to provide a user hook opportunity. */