From 40e51fd95a671cde27f98766fedc6c3212ab1d7c Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Fri, 19 Dec 2008 03:55:51 +0000 Subject: [PATCH] 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 Acked-by: Marc Jones git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3823 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/asus/m2v-mx_se/Options.lb | 2 +- src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mainboard/asus/m2v-mx_se/Options.lb b/src/mainboard/asus/m2v-mx_se/Options.lb index 903c8a18be..74b6917434 100644 --- a/src/mainboard/asus/m2v-mx_se/Options.lb +++ b/src/mainboard/asus/m2v-mx_se/Options.lb @@ -96,7 +96,7 @@ uses CONFIG_USE_PRINTK_IN_CAR 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 diff --git a/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c b/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c index b18fc0e0c7..ccdf1fd0b8 100644 --- a/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c +++ b/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c @@ -126,6 +126,7 @@ void activate_spd_rom(const struct mem_controller *ctrl) { } +#warning No hard_reset implemented for this board! void hard_reset(void) { print_info("NO HARD RESET. FIX ME!\n");