Author: myles
Date: 2008-12-19 04:55:51 +0100 (Fri, 19 Dec 2008)
New Revision: 3823

Modified:
   trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Options.lb
   trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c
Log:
This patch fixes the build for asus/m2v-mx_se.  Its hard_reset function is not
implemented (It just prints "hard_reset not implemented.  FIX ME!" This patch
defines HAVE_HARD_RESET 1 and adds a #warning hard_reset not implemented.

The net effect is that hard_reset prints something instead of just entering an
infinite loop.

Signed-off-by: Myles Watson <[email protected]>
Acked-by: Marc Jones <[email protected]>


Modified: trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Options.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Options.lb   2008-12-19 
03:36:48 UTC (rev 3822)
+++ trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Options.lb   2008-12-19 
03:55:51 UTC (rev 3823)
@@ -96,7 +96,7 @@
 default ROM_SIZE = 512 * 1024
 default FALLBACK_SIZE = 256 * 1024
 default HAVE_FALLBACK_BOOT = 1
-default HAVE_HARD_RESET = 0
+default HAVE_HARD_RESET = 1
 default HAVE_PIRQ_TABLE = 0
 default IRQ_SLOT_COUNT = 11    # FIXME?
 default HAVE_MP_TABLE = 1

Modified: trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c  
2008-12-19 03:36:48 UTC (rev 3822)
+++ trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c  
2008-12-19 03:55:51 UTC (rev 3823)
@@ -126,6 +126,7 @@
 {
 }
 
+#warning No hard_reset implemented for this board!
 void hard_reset(void)
 {
        print_info("NO HARD RESET. FIX ME!\n");


--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to