[coreboot] [PATCH] AMD Persimmon: disable memory clear for boot time reduction
Scott Duplichan
scott at notabs.org
Fri May 6 18:04:26 CEST 2011
The attached patch (along with the 04/30/2011 Persimmon patch set)
is needed to get the 640 ms coreboot+seabios+dos boot time.
Signed-off-by: Scott Duplichan <scott at notabs.org>
Index: src/mainboard/amd/persimmon/BiosCallOuts.c
===================================================================
--- src/mainboard/amd/persimmon/BiosCallOuts.c (revision 6556)
+++ src/mainboard/amd/persimmon/BiosCallOuts.c (working copy)
@@ -512,6 +512,9 @@
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.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skip-memclr.patch
Type: application/octet-stream
Size: 611 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110506/f973a9f3/attachment.obj>
More information about the coreboot
mailing list