Skip to content

Commit bd2212d

Browse files
KexyBiscuittsbogend
authored andcommitted
MIPS: Loongson64: remove ROM Size unit in boardinfo
Per Appendix A.7 in Q/LS 0013-2014 (龙芯CPU开发系统固件与内核接口规范 V2.2, lit. Loongson DevSys Firmware Kernel Interface Specification V2.2), interface_info.size is size of this interface, not size of the LEFI BIOS ROM. In any case, the BIOS ROM Size just cannot be several kilobytes (KB) on Loongson64 LEFI platforms. Reported-by: Mingcong Bai <jeffbai@aosc.io> Suggested-by: Icenowy Zheng <uwu@icenowy.me> Fixes: 6c1bfbd ("MIPS: Loongson64: Add /sys/firmware/lefi/boardinfo") Cc: stable@vger.kernel.org Signed-off-by: Kexy Biscuit <kexybiscuit@aosc.io> Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent 02bba94 commit bd2212d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/mips/loongson64/boardinfo.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@ static ssize_t boardinfo_show(struct kobject *kobj,
2121
"BIOS Info\n"
2222
"Vendor\t\t\t: %s\n"
2323
"Version\t\t\t: %s\n"
24-
"ROM Size\t\t: %d KB\n"
2524
"Release Date\t\t: %s\n",
2625
strsep(&tmp_board_manufacturer, "-"),
2726
eboard->name,
2827
strsep(&tmp_bios_vendor, "-"),
2928
einter->description,
30-
einter->size,
3129
especial->special_name);
3230
}
3331
static struct kobj_attribute boardinfo_attr = __ATTR(boardinfo, 0444,

0 commit comments

Comments
 (0)