1*673a8c4fSTiezhu YangWhat:		/sys/firmware/lefi/boardinfo
2*673a8c4fSTiezhu YangDate:		October 2020
3*673a8c4fSTiezhu YangContact:	Tiezhu Yang <yangtiezhu@loongson.cn>
4*673a8c4fSTiezhu YangDescription:
5*673a8c4fSTiezhu Yang		Get mainboard and BIOS info easily on the Loongson platform,
6*673a8c4fSTiezhu Yang		this is useful to point out the current used mainboard type
7*673a8c4fSTiezhu Yang		and BIOS version when there exists problems related with
8*673a8c4fSTiezhu Yang		hardware or firmware.
9*673a8c4fSTiezhu Yang
10*673a8c4fSTiezhu Yang		The related structures are already defined in the interface
11*673a8c4fSTiezhu Yang		specification about firmware and kernel which are common
12*673a8c4fSTiezhu Yang		requirement and specific for Loongson64, so only add a new
13*673a8c4fSTiezhu Yang		boardinfo.c file in arch/mips/loongson64.
14*673a8c4fSTiezhu Yang
15*673a8c4fSTiezhu Yang		For example:
16*673a8c4fSTiezhu Yang
17*673a8c4fSTiezhu Yang		[loongson@linux ~]$ cat /sys/firmware/lefi/boardinfo
18*673a8c4fSTiezhu Yang		Board Info
19*673a8c4fSTiezhu Yang		Manufacturer            : LEMOTE
20*673a8c4fSTiezhu Yang		Board Name              : LEMOTE-LS3A4000-7A1000-1w-V01-pc
21*673a8c4fSTiezhu Yang		Family                  : LOONGSON3
22*673a8c4fSTiezhu Yang
23*673a8c4fSTiezhu Yang		BIOS Info
24*673a8c4fSTiezhu Yang		Vendor                  : Kunlun
25*673a8c4fSTiezhu Yang		Version                 : Kunlun-A1901-V4.1.3-20200414093938
26*673a8c4fSTiezhu Yang		ROM Size                : 4 KB
27*673a8c4fSTiezhu Yang		Release Date            : 2020-04-14
28*673a8c4fSTiezhu Yang
29*673a8c4fSTiezhu Yang		By the way, using dmidecode command can get the similar info if there
30*673a8c4fSTiezhu Yang		exists SMBIOS in firmware, but the fact is that there is no SMBIOS on
31*673a8c4fSTiezhu Yang		some machines, we can see nothing when execute dmidecode, like this:
32*673a8c4fSTiezhu Yang
33*673a8c4fSTiezhu Yang		[root@linux loongson]# dmidecode
34*673a8c4fSTiezhu Yang		# dmidecode 2.12
35*673a8c4fSTiezhu Yang		# No SMBIOS nor DMI entry point found, sorry.
36