Commit b5a3ec35 authored by Kexy Biscuit's avatar Kexy Biscuit Committed by Greg Kroah-Hartman
Browse files

MIPS: Loongson64: remove ROM Size unit in boardinfo



commit bd2212d6 upstream.

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: default avatarMingcong Bai <jeffbai@aosc.io>
Suggested-by: default avatarIcenowy Zheng <uwu@icenowy.me>
Fixes: 6c1bfbd9 ("MIPS: Loongson64: Add /sys/firmware/lefi/boardinfo")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarKexy Biscuit <kexybiscuit@aosc.io>
Acked-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 77c97ed7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment