]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Loongson: Get host bridge information
authorTiezhu Yang <yangtiezhu@loongson.cn>
Fri, 3 Apr 2020 09:29:49 +0000 (17:29 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 28 Apr 2020 11:26:09 +0000 (13:26 +0200)
commit1535809cf47306907b78691ad55ec44654625b04
tree71d35c56e18ae3cfb15cdf5b7f9e611d411e180b
parent6aff950c007a5e794efe71ee4aa2d4e9d6fa023c
MIPS: Loongson: Get host bridge information

Read the address of host bridge configuration space to get the vendor ID
and device ID of host bridge, and then we can distinguish various types
of host bridge such as LS7A or RS780E.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/mach-loongson64/boot_param.h
arch/mips/loongson64/env.c