]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Correct address to unsupported memory type string
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 23 Jan 2011 20:50:09 +0000 (21:50 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 23 Jan 2011 20:50:09 +0000 (21:50 +0100)
grub-core/boot/mips/yeeloong/fwstart.S

index bc59c1174ccf0210b0334a44835c6cb735dabe2e..560e0ed8c6de0a21300d090378ee22bae486891c 100644 (file)
@@ -124,7 +124,7 @@ __start:
        ori $t0, $zero, GRUB_SMBUS_SPD_MEMORY_TYPE_DDR2
        lui $a0, %hi(unimplemented_memory_type)
        bne $t0, $v0, fatal
-        addiu $a0, $a0, %hi(unimplemented_memory_type)
+        addiu $a0, $a0, %lo(unimplemented_memory_type)
 
        /* And here is our goal: DDR2 controller initialisation.  */
         lui    $t0, %hi(GRUB_CPU_LOONGSON_CORECFG)