[coreboot] [commit] r5786 - trunk/src/cpu/via/car
repository service
svn at coreboot.org
Wed Sep 8 12:53:44 CEST 2010
Author: oxygene
Date: Wed Sep 8 12:53:44 2010
New Revision: 5786
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5786
Log:
It should not be necessary to read in the rom during CAR setup.
Removing the code preloading reduces the boot time.
Preload code is enabled when doing CARTEST (not exposed
to Kconfig given that it's a pure debugging measure)
Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
Acked-by: Patrick Georgi <patrick.georgi at coresystems.de>
Modified:
trunk/src/cpu/via/car/cache_as_ram.inc
Modified: trunk/src/cpu/via/car/cache_as_ram.inc
==============================================================================
--- trunk/src/cpu/via/car/cache_as_ram.inc Wed Sep 8 12:27:13 2010 (r5785)
+++ trunk/src/cpu/via/car/cache_as_ram.inc Wed Sep 8 12:53:44 2010 (r5786)
@@ -139,10 +139,12 @@
xorl $0x5c5c5c5c,%eax
rep stosl
+#ifdef CARTEST
movl REAL_XIP_ROM_BASE, %esi
movl %esi, %edi
movl $(CONFIG_XIP_ROM_SIZE>>2), %ecx
rep lodsl
+#endif
/* The key point of this CAR code is C7 cache does not turn into
* "no fill" mode, which is not compatible with general CAR code.
More information about the coreboot
mailing list