From: Vladimir Serbinenko Date: Wed, 22 Jul 2015 19:42:41 +0000 (+0200) Subject: fwstart: Fix loading of address of read_spd_fail. X-Git-Tag: 2.02-beta3~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=248bc1d0fcdd7729ee225de9e8a293b61d9a3de0;p=thirdparty%2Fgrub.git fwstart: Fix loading of address of read_spd_fail. --- diff --git a/grub-core/boot/mips/loongson/fwstart.S b/grub-core/boot/mips/loongson/fwstart.S index 921dbd1f1..28c634614 100644 --- a/grub-core/boot/mips/loongson/fwstart.S +++ b/grub-core/boot/mips/loongson/fwstart.S @@ -398,7 +398,7 @@ read_spd: move $t2, $a0 move $t3, $ra lui $a0, %hi(read_spd_fail) - addiu $a0, $a0, %hi(read_spd_fail) + addiu $a0, $a0, %lo(read_spd_fail) /* Send START. */ lui $t0, %hi(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE_2F)