]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
pass machine type from fwstart.S. Minor cleanup
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 23 Jan 2011 23:40:59 +0000 (00:40 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 23 Jan 2011 23:40:59 +0000 (00:40 +0100)
grub-core/boot/mips/yeeloong/fwstart.S

index 1a1a44c858bbae2d5891b490d3e9e8524208518b..8c0963ba3544fa0d8533a6029489c0eda2ba9269 100644 (file)
@@ -726,6 +726,10 @@ continue:
        lui $t0, %hi(cached_continue - 0x20000000)
        addiu $t0, $t0, %lo(cached_continue - 0x20000000)
        jr $t0
+#ifdef FULOONG
+        addiu $a2, $zero, -(1 + GRUB_ARCH_MACHINE_FULOONG)
+#else
         addiu $a2, $zero, -(1 + GRUB_ARCH_MACHINE_YEELOONG)
+#endif
 
-cached_continue:
\ No newline at end of file
+cached_continue: