On Sun, Oct 25, 2009 at 03:08:49PM +0100, Peter Stuge wrote:
> Stefan Reinauer wrote:
> > Use Intel Core code for eagleheights CAR init, not Intel Core 2, as
> > any of the CPUs might be used.
> > 
> > Signed-off-by: Stefan Reinauer <[email protected]>
> 
> Acked-by: Peter Stuge <[email protected]>

Acked-by: Uwe Hermann <[email protected]>

But maybe add a comment to permanently document the choice and the
reasons for it in the code / build files. Example patch attached.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.randomprojects.org
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
Use Intel Core code for eagleheights CAR init, not Intel Core 2, as
any of the CPUs might be used.

Signed-off-by: Stefan Reinauer <[email protected]>
Signed-off-by: Uwe Hermann <[email protected]>

Index: src/mainboard/intel/eagleheights/Makefile.inc
===================================================================
--- src/mainboard/intel/eagleheights/Makefile.inc	(Revision 4851)
+++ src/mainboard/intel/eagleheights/Makefile.inc	(Arbeitskopie)
@@ -14,6 +14,7 @@
 crt0-y += ../../../../src/cpu/x86/32bit/entry32.inc
 crt0-y += ../../../../src/cpu/x86/16bit/reset16.inc
 crt0-y += ../../../../src/arch/i386/lib/id.inc
+# Use Intel Core (not Core 2) code for CAR init, any CPU might be used.
 crt0-y += ../../../../src/cpu/intel/model_6ex/cache_as_ram.inc
 crt0-y += auto.inc
 
Index: src/mainboard/intel/eagleheights/auto.c
===================================================================
--- src/mainboard/intel/eagleheights/auto.c	(Revision 4851)
+++ src/mainboard/intel/eagleheights/auto.c	(Arbeitskopie)
@@ -238,4 +238,5 @@
 	sdram_initialize(ARRAY_SIZE(mch), mch);
 }
 
-#include "cpu/intel/model_6fx/cache_as_ram_disable.c"
+/* Use Intel Core (not Core 2) code for CAR init, any CPU might be used. */
+#include "cpu/intel/model_6ex/cache_as_ram_disable.c"
Index: src/mainboard/intel/eagleheights/Config.lb
===================================================================
--- src/mainboard/intel/eagleheights/Config.lb	(Revision 4851)
+++ src/mainboard/intel/eagleheights/Config.lb	(Arbeitskopie)
@@ -109,7 +109,8 @@
 ##
 ## Setup Cache-As-Ram
 ##
-mainboardinit cpu/intel/model_6fx/cache_as_ram.inc
+## Use Intel Core (not Core 2) code for CAR init, any CPU might be used.
+mainboardinit cpu/intel/model_6ex/cache_as_ram.inc
 
 ###
 ### This is the early phase of coreboot startup
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to