]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: enable CONFIG_PCI_REGION_MULTI_ENTRY=y in sifive_unmatched_defconfig
authorYuri Zaporozhets <yuriz@vodafonemail.de>
Tue, 19 Nov 2024 20:59:59 +0000 (21:59 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 27 Nov 2024 11:58:08 +0000 (19:58 +0800)
commitbdca70632dad38a1f7830c955771c0bd88ce7ae0
tree88efff7a767f55ffea9660c5a44adbff995260f2
parent185986caebf623c11071db8cb1d94e0d82f1d9e7
configs: enable CONFIG_PCI_REGION_MULTI_ENTRY=y in sifive_unmatched_defconfig

Currently, the PCI subsystem selects the small "region 2" (which starts at 0x7000000)
as bus_addr/phys_addr. As a consequence, the BAR0 on PCIe video card cannot be initialized,
because it simply doesn't fit into 0x1000000 bytes size of "region 2".

U-Boot should use "region 1" instead (the one which starts at 0x60090000), because
it has much bigger size (0xFF70000), and easily accomodates BAR0 of the video card.
Linux kernel also uses 0x60090000 as bus_start/phys_start.

Signed-off-by: Yuri Zaporozhets <yuriz@vodafonemail.de>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
configs/sifive_unmatched_defconfig