All pastes #995805 Raw Edit

Unnamed

public text v1 · immutable
#995805 ·published 2008-04-24 14:36 UTC
rendered paste body
Index: src/mainboard/artecgroup/dbe61/Config.lb
===================================================================
--- src/mainboard/artecgroup/dbe61/Config.lb	(Revision 3261)
+++ src/mainboard/artecgroup/dbe61/Config.lb	(Arbeitskopie)
@@ -10,6 +10,9 @@
 	default ROM_SECTION_OFFSET = 0
 end
 
+if USE_DEDICATED_SERIAL
+end
+
 ##
 ## Compute the start location and size size of
 ## The coreboot bootloader.
Index: src/mainboard/artecgroup/dbe61/Options.lb
===================================================================
--- src/mainboard/artecgroup/dbe61/Options.lb	(Revision 3261)
+++ src/mainboard/artecgroup/dbe61/Options.lb	(Arbeitskopie)
@@ -50,6 +50,9 @@
 uses DCACHE_RAM_SIZE
 uses PIRQ_ROUTE
 
+uses USE_DEDICATED_SERIAL
+default USE_DEDICATED_SERIAL = 0
+
 ## ROM_SIZE is the size of boot ROM that this board will use.
 default ROM_SIZE  = 256*1024
 
Index: src/mainboard/artecgroup/dbe61/cache_as_ram_auto.c
===================================================================
--- src/mainboard/artecgroup/dbe61/cache_as_ram_auto.c	(Revision 3261)
+++ src/mainboard/artecgroup/dbe61/cache_as_ram_auto.c	(Arbeitskopie)
@@ -169,10 +169,12 @@
 	uart_init();
 	console_init();
 
+#if USE_DEDICATED_SERIAL
+
 	pll_reset(ManualConf);
-
+#else
 	cpuRegInit();
-
+#endif
 	sdram_initialize(1, memctrl);
 
 	/* Dump memory configuratation */
Index: src/config/Options.lb
===================================================================
--- src/config/Options.lb	(Revision 3261)
+++ src/config/Options.lb	(Arbeitskopie)
@@ -1137,3 +1137,12 @@
 	export never
 	comment "Configure briQ with PowerPC G4"
 end
+
+###############################################
+# Options for artecgroup/dbe62
+###############################################
+define USE_DEDICATED_SERIAL
+       default 0
+       export never
+       comment "Whether to use dedicated serial port or VGA DDC pins"
+end