summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/emulation/qemu-armv7/ramstage.c6
-rw-r--r--src/mainboard/google/snow/ramstage.c8
2 files changed, 5 insertions, 9 deletions
diff --git a/src/mainboard/emulation/qemu-armv7/ramstage.c b/src/mainboard/emulation/qemu-armv7/ramstage.c
index 24d0d7ff8f..5fce9fa68c 100644
--- a/src/mainboard/emulation/qemu-armv7/ramstage.c
+++ b/src/mainboard/emulation/qemu-armv7/ramstage.c
@@ -15,10 +15,8 @@
#include <console/console.h>
-void hardwaremain(int boot_complete);
+void hardwaremain(void);
void main(void)
{
- console_init();
- printk(BIOS_INFO, "hello from ramstage\n");
- hardwaremain(0);
+ hardwaremain();
}
diff --git a/src/mainboard/google/snow/ramstage.c b/src/mainboard/google/snow/ramstage.c
index 09b51a79fa..72f830dec6 100644
--- a/src/mainboard/google/snow/ramstage.c
+++ b/src/mainboard/google/snow/ramstage.c
@@ -77,12 +77,10 @@ void fill_lb_framebuffer(struct lb_framebuffer *framebuffer)
}
-void hardwaremain(int boot_complete);
+void hardwaremain(void);
void main(void)
{
- console_init();
- printk(BIOS_INFO,
- "hello from ramstage; now with deluxe exception handling.\n");
+ /* FIXME this should be moved elsewhere. We don't want ramstage.c */
/* set up coreboot tables */
high_tables_size = CONFIG_COREBOOT_TABLES_SIZE;
@@ -114,7 +112,7 @@ void main(void)
power_enable_xclkout();
- hardwaremain(0);
+ hardwaremain();
}
/* TODO: transplanted DP stuff, clean up once we have something that works */