summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2008-12-19 03:55:51 +0000
committerMyles Watson <mylesgw@gmail.com>2008-12-19 03:55:51 +0000
commit40e51fd95a671cde27f98766fedc6c3212ab1d7c (patch)
treef0746d0b10f7608f75312f1229da357ad8df4a95 /src/mainboard
parente562f7258e573e52ab6e81f85f400999c3d9caaa (diff)
downloadcoreboot-40e51fd95a671cde27f98766fedc6c3212ab1d7c.tar.xz
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 <mylesgw@gmail.com> Acked-by: Marc Jones <marcj303@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3823 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/asus/m2v-mx_se/Options.lb2
-rw-r--r--src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c1
2 files changed, 2 insertions, 1 deletions
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");