]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: sifive: initialize PCI on Unmatched
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 25 Jul 2023 10:41:30 +0000 (12:41 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 2 Aug 2023 03:02:33 +0000 (11:02 +0800)
commitcd24d0722a554f18a85076353b6d816d9afc3ade
tree9da75c209dd77a47042a3dc8f97f1a579fd5c45f
parent493c03f82065ac67b3e7b1cde3c719bbd0e86514
riscv: sifive: initialize PCI on Unmatched

The Unmatched board is typically booted from NVMe which requires PCI.
When dropping to a console PCI is not initialized yet. 'pci enum' has to be
called.

Change the configuration to call  pci_init() in board_init_r().

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Rick Chen <rick@andestech.com>
configs/sifive_unmatched_defconfig