diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-07-25 13:41:30 +0300 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2023-08-02 06:02:33 +0300 |
commit | cd24d0722a554f18a85076353b6d816d9afc3ade (patch) | |
tree | 9da75c209dd77a47042a3dc8f97f1a579fd5c45f /configs | |
parent | 493c03f82065ac67b3e7b1cde3c719bbd0e86514 (diff) | |
download | u-boot-cd24d0722a554f18a85076353b6d816d9afc3ade.tar.xz |
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>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/sifive_unmatched_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sifive_unmatched_defconfig b/configs/sifive_unmatched_defconfig index ffae8655c9..867611b6b4 100644 --- a/configs/sifive_unmatched_defconfig +++ b/configs/sifive_unmatched_defconfig @@ -31,6 +31,7 @@ CONFIG_DISPLAY_CPUINFO=y CONFIG_DISPLAY_BOARDINFO=y CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_ID_EEPROM=y +CONFIG_PCI_INIT_R=y CONFIG_SPL_MAX_SIZE=0x100000 CONFIG_SPL_BSS_START_ADDR=0x85000000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set |