summaryrefslogtreecommitdiff
path: root/src/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/mips')
-rw-r--r--src/arch/mips/ashldi3.c2
-rw-r--r--src/arch/mips/bootblock_simple.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/mips/ashldi3.c b/src/arch/mips/ashldi3.c
index 9ee40efa41..f68d78ed60 100644
--- a/src/arch/mips/ashldi3.c
+++ b/src/arch/mips/ashldi3.c
@@ -19,7 +19,7 @@
#errror "What endian are you!?"
#endif
-typedef unsigned word_type;
+typedef unsigned int word_type;
long long __ashldi3(long long u, word_type b);
struct DWstruct {
diff --git a/src/arch/mips/bootblock_simple.c b/src/arch/mips/bootblock_simple.c
index 40987d8bcd..84029ebedb 100644
--- a/src/arch/mips/bootblock_simple.c
+++ b/src/arch/mips/bootblock_simple.c
@@ -32,10 +32,10 @@ void main(void)
bootblock_mmu_init();
- if (init_extra_hardware()) {
+ if (init_extra_hardware())
printk(BIOS_ERR, "bootblock_simple: failed to init HW.\n");
- } else {
+ else
run_romstage();
- }
+
halt();
}